]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r258051, r258052
authorandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 12 Dec 2013 12:36:40 +0000 (12:36 +0000)
committerandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 12 Dec 2013 12:36:40 +0000 (12:36 +0000)
commit30ded52f9ddd0e3fed94815bd761bbfbb602945a
tree0733c3f67a5952b5b85fe3a78e1a42b9959c8270
parent0eb0385d07fef454aca38f055501e1a1d0247594
MFC: r258051, r258052

r258052:
Following the approach with ACPI DMAR on x86, split IOMMU handling into
a variant PCI bus instead of trying to shoehorn it into the PCI host bridge
adapter. Besides matching better the architecture on other platforms, this
also allows systems with multiple partitionable endpoints per PCI host
bridge to work correctly.

r258051:
Actually add IOMMU domain to the list of known mappings. This fixes a bug
where multiple devices in the same IOMMU domain would be allocated
conflicting mappings unless they also shared a DMA tag.

git-svn-id: svn://svn.freebsd.org/base/stable/10@259257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files.powerpc
sys/powerpc/ofw/ofw_pcibus.c
sys/powerpc/ofw/ofw_pcibus.h [new file with mode: 0644]
sys/powerpc/pseries/plpar_iommu.c
sys/powerpc/pseries/plpar_pcibus.c [new file with mode: 0644]
sys/powerpc/pseries/rtas_pci.c