commit | 1fc2329121e403a4d7dbffa4c4fda5a756043e4a | [log] [tgz] |
---|---|---|
author | Mark Kettenis <kettenis@openbsd.org> | Sat Jan 21 20:27:56 2023 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 27 14:47:58 2023 -0500 |
tree | ee4df73bbc089002e5ed6abcb3a6626984d0eeb2 | |
parent | ba1efb3d2494e8ceb0ff405642f44a955f8d8e1b [diff] |
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: Mark Kettenis <kettenis@openbsd.org>