iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] pci/iommu: PCIe requester ID interface
@ 2013-07-10 22:10 Alex Williamson
       [not found] ` <20130710215954.3045.89568.stgit-xdHQ/5r00wBBDLzU/O5InQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Williamson @ 2013-07-10 22:10 UTC (permalink / raw)
  To: bhelgaas-hpIqsD4AKlfQT0dZR+AlfA
  Cc: linux-pci-u79uwXL29TY76Z2rM5mHXA,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	dwmw2-wEGCiKHe2LqWVfeAwA7xHQ

I took Bjorn's requester ID interface, or more appropriately my
interpretation of the interface, through a full (apparently) working
implementation.  This is the result.  It's quite a nice cleanup for
intel-iommu.  I think this kills two birds with one stone, we quirk
PCIe-to-PCI bridges that don't have a PCIe capability (bz44881) and we
also apply DMA quirks to all devices for dma_ops, which should fix
devices like Ricoh and Marvell chips that do DMA from the wrong
requester ID (still no ghost requester ID support, but that may be
easier to add now).

If this seems like the right direction I'll update other users of
pci_find_upstream_pcie_bridge() and abolish that function.  Thanks,

Alex

---

Alex Williamson (2):
      pci: Create PCIe requester ID interface
      iommu/intel: Make use of PCIe requester ID interface


 drivers/iommu/intel-iommu.c |  164 ++++++++++++++++-------------------------
 drivers/pci/search.c        |  170 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/pci.h         |    7 ++

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

end of thread, other threads:[~2013-07-10 22:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-10 22:10 [RFC PATCH 0/2] pci/iommu: PCIe requester ID interface Alex Williamson
     [not found] ` <20130710215954.3045.89568.stgit-xdHQ/5r00wBBDLzU/O5InQ@public.gmane.org>
2013-07-10 22:10   ` [RFC PATCH 1/2] pci: Create " Alex Williamson
2013-07-10 22:10   ` [RFC PATCH 2/2] iommu/intel: Make use of " 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).