This series completes the support of MSIs for ACPI guest featuring an ITS.
It generates an ACPI IORT table which describes the IO relationship between
the root complex and the ITS. This typically enables vhost-net support on
The series applies on top of Drew's series:
[PATCH 0/2] couple ITS support fixups, which is now on target-arm.next.
Original contribution was sent by Prem Mallapa in
[PATCH v2 9/9] [optional] arm: smmu-v3: ACPI IORT initial support,
part of [PATCH v2 0/9] SMMUv3 Emulation support.
Prem's 1st integration targetted Root Complex - vSMMU relationship
description whereas this series targets RC - ITS description.
This was tested with a v4.8 guest + rebased Tomasz' series:
- [PATCH V11 0/8] Introduce ACPI world to ITS,
v1 -> v2:
- addressed Drew's comments, see individual patches
Prem's version -> v1:
- split into 2 separate patches
- iort struct field names match include/acpi/actbl2.h 's ones
- added ITS node
- added ID mapping in RC node
- removed smmu mode
Prem Mallappa (2):
ACPI: Add IORT Structure definition
ARM: Virt: ACPI: Build an IORT table with RC and ITS nodes
hw/arm/virt-acpi-build.c | 73 ++++++++++++++++++++++++++++++++++++++-------
include/hw/acpi/acpi-defs.h | 68 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 130 insertions(+), 11 deletions(-)