HomeFreeBSD

dmar: reserve memory windows of PCIe root port

Description

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

Details

Provenance
rlibbyAuthored on
Reviewer
kib
Differential Revision
D27503: dmar: reserve memory windows of PCIe root port
Parents
rS368489: Merge commit 28de0fb48 from llvm git (by Luís Marques):
Branches
Unknown
Tags
Unknown