Skip to content

ACPI IORT generation for ITS support

Eric Auger qemu-arm qemu-devel 3 versions – Applied

Status from this message: Applied to target-arm.next, thanks. (I'll tweak the commit message

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesApplied
  2. v22 patches 9 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- used sizeof(*iort) as node_offset
- removed idmap->flags = 0;
- misc cleanups

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2ACPI: Add IORT Structure definitioninclude/hw/acpi/acpi-defs.h+68 -01 reply
2/2ARM: Virt: ACPI: Build an IORT table with RC and ITS nodeshw/arm/virt-acpi-build.c+60 -113 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew Jones
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-arm] [PATCH v3 0/2] ACPI IORT generation for ITS support

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 such guest.

The series applies on top of Drew's [PATCH 0/2] couple ITS support fixups, which is now on target-arm.next:
https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg02013.html

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.
https://lists.gnu.org/archive/html/qemu-devel/2016-08/msg04350.html

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,
https://lkml.org/lkml/2016/9/12/926

History:
v2 -> v3:
- used sizeof(*iort) as node_offset
- removed idmap->flags = 0;
- misc cleanups

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    | 71 ++++++++++++++++++++++++++++++++++++++-------
 include/hw/acpi/acpi-defs.h | 68 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 128 insertions(+), 11 deletions(-)
Signature · 1 line
2.5.5