Skip to content

Upgrade ACPI SPCR table to support SPCR table revision 4 format

Sia Jee Heng qemu-arm qemu-devel qemu-riscv 7 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 4 repliesApplied
  2. v53 patches 4 repliesSuperseded
  3. v4 posting 2/23 patches 10 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v4 posting 1/23 patches0 repliesSuperseded
v33 patches2 repliesSuperseded
v23 patches9 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v6 from the cover letter

- Added Reviewed-by: Michael S. Tsirkin <[email protected]>
- Rebase and update the build_spcr() function for the LoongArch virt machine.

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/3qtest: allow SPCR acpi table changestests/qtest/bios-tables-test-allowed-diff.h+1 -00 replies
2/3hw/acpi: Upgrade ACPI SPCR table to support SPCR table revision 4 formathw/acpi/aml-build.c hw/arm/virt-acpi-build.c hw/loongarch/acpi-build.c +3 more+42 -131 reply
3/3tests/qtest/bios-tables-test: Update virt SPCR golden reference for RISC-Vtests/data/acpi/riscv64/virt/SPCR tests/qtest/bios-tables-test-allowed-diff.h+0 -10 replies

Reviews trailers per patch

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

PatchSunil V LAlistair FrancisMichael S. TsirkinBibo Mao
1/3R-b A-b
2/3R-b A-b R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/3] Upgrade ACPI SPCR table to support SPCR table revision 4 format

Update the SPCR table to accommodate the SPCR Table revision 4 [1]. The SPCR table has been modified to adhere to the revision 4 format [2].

Meanwhile, the virt SPCR golden reference file for RISC-V have been updated to accommodate the SPCR Table revision 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 v6:
- Added Reviewed-by: Michael S. Tsirkin <[email protected]>
- Rebase and update the build_spcr() function for the LoongArch virt machine.

Changes in v5:
- Reverted the SPCR table revision history for the ARM architecture.
- Corrected the output of the SPCR Table diff.

Changes in v4:
- Remove the SPCR table revision 4 update for the ARM architecture.

Changes in v3:
- Rebased on the latest QEMU.
- Added Acked-by: Alistair Francis <[email protected]>

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 revision 4
format
tests/qtest/bios-tables-test: Update virt SPCR golden reference for
RISC-V

 hw/acpi/aml-build.c               |  20 ++++++++++++++++----
 hw/arm/virt-acpi-build.c          |   8 ++++++--
 hw/loongarch/acpi-build.c         |   6 +++++-
 hw/riscv/virt-acpi-build.c        |  12 +++++++++---
 include/hw/acpi/acpi-defs.h       |   7 +++++--
 include/hw/acpi/aml-build.h       |   2 +-
 tests/data/acpi/riscv64/virt/SPCR | Bin 80 -> 90 bytes
 7 files changed, 42 insertions(+), 13 deletions(-)

base-commit: cea8ac78545a83e1f01c94d89d6f5a3f6b5c05d2

Signature · 1 line
2.43.0