[PATCH 0/7] PCI: BAR sizing fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux