Skip to content
Commit 9d4f39b2 authored by Mark Kettenis's avatar Mark Kettenis Committed by Tom Rini
Browse files

iommu: Implement mapping IOMMUs for PCI devices



Systems such as Apple's M1 and M2 SoCs may have separate IOMMUs
for each PCIe root port.  In this case the right IOMMU for a
PCI device behind a particular root port is described by an
"iommu-map" property in the device tree.  Parse this property
and use it to find the right IOMMU device for PCI devices.

Signed-off-by: default avatarMark Kettenis <kettenis@openbsd.org>
parent 00881bc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment