mbox series

[0/5] ACPI tests for PCI Hotplug on ARM

Message ID 20250526053123.1434204-1-gustavo.romero@linaro.org
Headers show
Series ACPI tests for PCI Hotplug on ARM | expand

Message

Gustavo Romero May 26, 2025, 5:31 a.m. UTC
This series updates the existing ACPI tests to work with the new support
for ACPI PCI hotplug on aarch64, which is now enabled by default in the
'virt' machine. Because ACPI PCI hotplug is now enabled by default it's
necessary to disable it (acpi-pcihp=off) for the existing tests, because
they use the native PCI hotplug mechanism.

It also introduces a new test variant, .acpipcihp, to test the ACPI
tables and the AML code necessary to make the ACP PCI hotplug/unplug
work, so in essence it tests the ACPI when 'acpi-pcihp=on'.

This series should not be merged before the "ACPI PCI Hotplug support on
ARM" [0] series (under review) is in the master branch.


Cheers,
Gustavo

[0] https://lists.nongnu.org/archive/html/qemu-devel/2025-05/msg03487.html

Gustavo Romero (5):
  tests/qtest/bios-tables-test: Prepare for changes in the ACPI tables
  tests/qtest/bios-tables-test: Keep ACPI PCI hotplug off
  tests/qtest/bios-tables-test: Update changed ACPI blobs
  tests/qtest/bios-tables-test: Add aarch64 ACPI PCI hotplug test
  qtest/bios-tables-test: Update aarch64/virt 'acpipcihp' variant blob

 tests/data/acpi/aarch64/virt/DSDT             | Bin 5196 -> 5178 bytes
 .../data/acpi/aarch64/virt/DSDT.acpihmatvirt  | Bin 5282 -> 5264 bytes
 tests/data/acpi/aarch64/virt/DSDT.acpipcihp   | Bin 0 -> 5993 bytes
 tests/data/acpi/aarch64/virt/DSDT.memhp       | Bin 6557 -> 6539 bytes
 tests/data/acpi/aarch64/virt/DSDT.pxb         | Bin 7679 -> 7635 bytes
 tests/data/acpi/aarch64/virt/DSDT.topology    | Bin 5398 -> 5380 bytes
 tests/qtest/bios-tables-test.c                |  42 ++++++++++++++++--
 7 files changed, 39 insertions(+), 3 deletions(-)
 create mode 100644 tests/data/acpi/aarch64/virt/DSDT.acpipcihp