freebsd-skq/sys/dev/iommu
Ryan Libby ee47a12a49 dmar: reserve memory windows of PCIe root port
PCI memory address space is shared between memory-mapped devices (MMIO)
and host memory (which may be remapped by an IOMMU). Device accesses to
an address within a memory aperture in a PCIe root port will be treated
as peer-to-peer and not forwarded to an IOMMU. To avoid this, reserve
the address space of the root port's memory apertures in the address
space used by the IOMMU for remapping.

Reviewed by:	kib, tychon
Discussed with:	Anton Rang <rang@acm.org>
Tested by:	tychon
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D27503
2020-12-09 18:43:58 +00:00
..
busdma_iommu.c Add a per-each macro IOMMU_DOMAIN_UNLOAD_SLEEP which allows to sleep 2020-10-14 14:51:11 +00:00
busdma_iommu.h Split-out Guest Address Space (GAS) macroses to a separate header. 2020-10-15 13:47:52 +00:00
iommu_gas.c dmar: reserve memory windows of PCIe root port 2020-12-09 18:43:58 +00:00
iommu_gas.h Split-out Guest Address Space (GAS) macroses to a separate header. 2020-10-15 13:47:52 +00:00
iommu_msi.h o Add iommu de-initialization method for MSI interface. 2020-10-24 20:09:27 +00:00
iommu_types.h Split-out iommu type definitions to a separate header. 2020-10-14 21:22:23 +00:00
iommu.h dmar: reserve memory windows of PCIe root port 2020-12-09 18:43:58 +00:00