[PATCH 0/7] PCI: BAR sizing fixes

From: Bjorn Helgaas
Date: Tue Apr 29 2014 - 20:59:45 EST


These are intended to fix some corner-case BAR sizing issues: cases where
resource_size_t or dma_addr_t is too small to handle a BAR larger than 4GB
or one placed above 4GB. There's also a message clarification in the
resource sanity check and a subtractive bridge window fix.

Comments welcome.

---

Bjorn Helgaas (7):
PCI: Fail safely if we can't handle BARs larger than 4GB
PCI: Reject BAR above 4GB if dma_addr_t is too small
PCI: Don't convert BAR address to resource if dma_addr_t is too small
PCI: Don't set BAR to zero if dma_addr_t is too small
PCI: Don't print anything while decoding is disabled
resources: Clarify sanity check message
PCI: Don't add disabled subtractive decode bus resources


drivers/pci/probe.c | 48 +++++++++++++++++++++++++++++-------------------
kernel/resource.c | 7 ++-----
2 files changed, 31 insertions(+), 24 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/