qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Upgrade ACPI SPCR table to support SPCR table version 4 format
@ 2024-05-07  5:22 Sia Jee Heng
  2024-05-07  5:22 ` [PATCH v2 1/3] qtest: allow SPCR acpi table changes Sia Jee Heng
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sia Jee Heng @ 2024-05-07  5:22 UTC (permalink / raw)
  To: qemu-arm, qemu-devel, qemu-riscv
  Cc: mst, imammedo, anisinha, peter.maydell, jeeheng.sia,
	shannon.zhaosl, sunilvl, palmer, alistair.francis, bin.meng,
	liwei1518, dbarboza, zhiwei_liu

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.

This patch series depends on Sunil's patch series [3], where Bios-Table-Test
is now supported by both ARM and RISC-V.

[1]: https://learn.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table
[2]: https://github.com/acpica/acpica/pull/931
[3]: https://lore.kernel.org/all/20240315130519.2378765-1-sunilvl@ventanamicro.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/virt/aarch64/SPCR | Bin 80 -> 90 bytes
 tests/data/acpi/virt/riscv64/SPCR | Bin 80 -> 90 bytes
 7 files changed, 34 insertions(+), 11 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-14 11:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07  5:22 [PATCH v2 0/3] Upgrade ACPI SPCR table to support SPCR table version 4 format Sia Jee Heng
2024-05-07  5:22 ` [PATCH v2 1/3] qtest: allow SPCR acpi table changes Sia Jee Heng
2024-05-13  3:55   ` Alistair Francis
2024-05-13  6:31     ` Michael S. Tsirkin
2024-05-13 10:36       ` Alistair Francis
2024-05-14  9:22         ` Peter Maydell
2024-05-07  5:22 ` [PATCH v2 2/3] hw/acpi: Upgrade ACPI SPCR table to support SPCR table version 4 format Sia Jee Heng
2024-05-13  4:01   ` Alistair Francis
2024-05-13  5:16   ` Sunil V L
2024-05-14 11:16     ` JeeHeng Sia
2024-05-13  6:31   ` Michael S. Tsirkin
2024-05-14 11:18     ` JeeHeng Sia
2024-05-07  5:22 ` [PATCH v2 3/3] tests/qtest/bios-tables-test: Update virt SPCR golden references Sia Jee Heng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).