linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pci/iommu: Quirk non-compliant PCIe-to-PCI bridges
@ 2013-05-10 21:18 Alex Williamson
  2013-05-10 21:18 ` [PATCH 1/3] pci: Add PCI walk function and PCIe bridge test Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alex Williamson @ 2013-05-10 21:18 UTC (permalink / raw)
  To: bhelgaas, stephen; +Cc: linux-pci, iommu, dwmw2, ddutile

This series tries to address:

https://bugzilla.kernel.org/show_bug.cgi?id=44881

Where pci_find_upstream_pcie_bridge() gets lost trying to find the
upstream PCIe-to-PCI bridge for a device because the bridge doesn't
expose a PCIe capability.  To do this, we add a pci_is_pcie_bridge
function which includes a quirk to look to the next upstream device
as a sanity check.  We can then replace pci_find_upstream_pcie_bridge
with a function that's a bit more generic and less tied to intel-iommu
eccentricities.

This works on my VT-d system, but I don't have any of the offending
bridges.  Appreciate testing from those who do.  I'll link this series
to the bz above for more testing.  Thanks,

Alex

---

Alex Williamson (3):
      pci: Add PCI walk function and PCIe bridge test
      intel-iommu: Convert to pci_walk_up_to_first_match
      pci: Remove pci_find_pcie_upstream_bridge


 drivers/iommu/intel-iommu.c         |   77 ++++++++++++++++++++++-------------
 drivers/iommu/intel_irq_remapping.c |   13 ++++--
 drivers/pci/search.c                |   74 ++++++++++++++++++++++------------
 include/linux/pci.h                 |   26 +++++++++---
 4 files changed, 124 insertions(+), 66 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-23 20:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 21:18 [PATCH 0/3] pci/iommu: Quirk non-compliant PCIe-to-PCI bridges Alex Williamson
2013-05-10 21:18 ` [PATCH 1/3] pci: Add PCI walk function and PCIe bridge test Alex Williamson
2013-05-13 13:51   ` Sethi Varun-B16395
2013-05-13 14:49     ` Alex Williamson
2013-05-22 14:34       ` Sethi Varun-B16395
2013-05-22 15:02         ` Alex Williamson
2013-05-23 20:44   ` Bjorn Helgaas
2013-05-10 21:18 ` [PATCH 2/3] intel-iommu: Convert to pci_walk_up_to_first_match Alex Williamson
2013-05-10 21:18 ` [PATCH 3/3] pci: Remove pci_find_pcie_upstream_bridge Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).