This series introduces IPMMU handling for PCIe passthrough on ARM. It includes changes to pci-designware, pci-host-rcar and ipmmu-vmsa drivers to enable configuring BDF->OSID->uTLB translation chain needed to pass different PCIe devices to different domains.
Tested on RCar S4 Spider board. v1->v2: * see individual patches Mykyta Poturai (2): arm/pci: allow designware-based hosts to have private data pci/rcar: implement OSID configuration for Renesas RCar Gen4 PCIe host Oleksandr Tyshchenko (1): iommu/ipmmu-vmsa: Implement basic PCIE-IPMMU OSID support xen/arch/arm/pci/pci-designware.c | 12 ++ xen/arch/arm/pci/pci-designware.h | 4 + xen/arch/arm/pci/pci-host-rcar4.c | 148 +++++++++++++++++++++++ xen/arch/arm/pci/pci-host-rcar4.h | 18 +++ xen/drivers/passthrough/arm/ipmmu-vmsa.c | 136 +++++++++++++++++++-- 5 files changed, 310 insertions(+), 8 deletions(-) create mode 100644 xen/arch/arm/pci/pci-host-rcar4.h -- 2.34.1