Skip to content

ACPI MADT and FADT update according to the ACPI 6.0 spec

Miguel Luis qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/acpi: virt: allow acpi MADT and FADT changestests/qtest/bios-tables-test-allowed-diff.h+6 -01 reply
2/4acpi: fadt: support revision 6.0 of the ACPI specificationhw/acpi/aml-build.c hw/arm/virt-acpi-build.c+15 -80 replies
3/4acpi: arm/virt: madt: bump to revision 4 accordingly to ACPI 6.0 Errata Ahw/arm/virt-acpi-build.c+7 -90 replies
4/4tests/acpi: virt: update ACPI MADT and FADT binariestests/data/acpi/virt/APIC tests/data/acpi/virt/APIC.memhp tests/data/acpi/virt/APIC.numamem +4 more+0 -61 reply

Reviews trailers per patch

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

PatchAni Sinha
1/4A-b
2/4R-b
3/4R-b
4/4A-b

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

Read the v1 thread

Cover letter [PATCH 0/4] ACPI MADT and FADT update according to the ACPI 6.0 spec

The MADT table structure has been updated in commit 37f33084ed2e ("acpi: arm/virt: madt: use build_append_int_noprefix() API to compose MADT table") to include the 5.2.12.18 GIC ITS Structure and so table's revision also needs to be updated. MADT and the FADT tables from the same spec need to be in sync and in this case also the FADT needs to be updated.

Revision 6.0 of the ACPI FADT table introduces the field "Hypervisor Vendor Identity" which is missing and must be included.

Ref: https://uefi.org/sites/default/files/resources/ACPI_6_0_Errata_A.PDF

This patch series originates from a previous RFC [1] discussion. Reviewed-by tags were kept on patches 2/4 and 3/4.

[1]: https://lists.gnu.org/archive/html/qemu-devel/2022-10/msg01326.html

Miguel Luis (4):
tests/acpi: virt: allow acpi MADT and FADT changes
acpi: fadt: support revision 6.0 of the ACPI specification
acpi: arm/virt: madt: bump to revision 4 accordingly to ACPI 6.0
Errata A
tests/acpi: virt: update ACPI MADT and FADT binaries

 hw/acpi/aml-build.c               |  13 ++++++++++---
 hw/arm/virt-acpi-build.c          |  26 ++++++++++++--------------
 tests/data/acpi/virt/APIC         | Bin 168 -> 172 bytes
 tests/data/acpi/virt/APIC.memhp   | Bin 168 -> 172 bytes
 tests/data/acpi/virt/APIC.numamem | Bin 168 -> 172 bytes
 tests/data/acpi/virt/FACP         | Bin 268 -> 276 bytes
 tests/data/acpi/virt/FACP.memhp   | Bin 268 -> 276 bytes
 tests/data/acpi/virt/FACP.numamem | Bin 268 -> 276 bytes
 8 files changed, 22 insertions(+), 17 deletions(-)
Signature · 1 line
2.37.3