[PATCH v3 0/3] Upgrade ACPI SPCR table to support SPCR table version 4 format

Sia Jee Heng posted 3 patches 3 months, 1 week ago
hw/acpi/aml-build.c               |  14 +++++++++++---
hw/arm/virt-acpi-build.c          |  10 ++++++++--
hw/riscv/virt-acpi-build.c        |  12 +++++++++---
include/hw/acpi/acpi-defs.h       |   7 +++++--
include/hw/acpi/aml-build.h       |   2 +-
tests/data/acpi/aarch64/virt/SPCR | Bin 80 -> 90 bytes
tests/data/acpi/riscv64/virt/SPCR | Bin 80 -> 90 bytes
7 files changed, 34 insertions(+), 11 deletions(-)
[PATCH v3 0/3] Upgrade ACPI SPCR table to support SPCR table version 4 format
Posted by Sia Jee Heng 3 months, 1 week ago
Update the SPCR table to accommodate the SPCR Table version 4 [1].
The SPCR table has been modified to adhere to the version 4 format [2].

Meanwhile, the virt SPCR golden reference files have been updated to
accommodate the SPCR Table version 4.

[1]: https://learn.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table
[2]: https://github.com/acpica/acpica/pull/931

Changes in v3:
- Rebased on the latest QEMU.
- Added Acked-by: Alistair Francis <alistair.francis@wdc.com>

Changes in v2:
- Utilizes a three-patch approach to modify the ACPI pre-built binary
  files required by the Bios-Table-Test.
- Rebases and incorporates changes to support both ARM and RISC-V ACPI
  pre-built binary files.

Sia Jee Heng (3):
  qtest: allow SPCR acpi table changes
  hw/acpi: Upgrade ACPI SPCR table to support SPCR table version 4
    format
  tests/qtest/bios-tables-test: Update virt SPCR golden references

 hw/acpi/aml-build.c               |  14 +++++++++++---
 hw/arm/virt-acpi-build.c          |  10 ++++++++--
 hw/riscv/virt-acpi-build.c        |  12 +++++++++---
 include/hw/acpi/acpi-defs.h       |   7 +++++--
 include/hw/acpi/aml-build.h       |   2 +-
 tests/data/acpi/aarch64/virt/SPCR | Bin 80 -> 90 bytes
 tests/data/acpi/riscv64/virt/SPCR | Bin 80 -> 90 bytes
 7 files changed, 34 insertions(+), 11 deletions(-)


base-commit: 0f397dcfecc9211d12c2c720c01eb32f0eaa7d23
-- 
2.34.1