qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] acpi: fix short OEM [Table] ID padding
@ 2022-01-12 13:03 Igor Mammedov
  2022-01-12 13:03 ` [PATCH 1/4] tests: acpi: manually pad OEM_ID/OEM_TABLE_ID for test_oem_fields() test Igor Mammedov
                   ` (5 more replies)
  0 siblings, 6 replies; 30+ messages in thread
From: Igor Mammedov @ 2022-01-12 13:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ani Sinha, Marian Postevca, Michael S . Tsirkin

Since 6.0 the commit:
  602b458201 ("acpi: Permit OEM ID and OEM table ID fields to be changed")
regressed values of OEM [Table] ID fields in ACPI tables
by padding them with whitespace is a value is shorter then
max possible. That depending on vendor broke OEM [Table] ID patching
with SLIC table values and as result licensing of Windows guests.

First reported here https://gitlab.com/qemu-project/qemu/-/issues/707

CC: Marian Postevca <posteuca@mutex.one>
CC: Michael S. Tsirkin <mst@redhat.com>
CC: Ani Sinha <ani@anisinha.ca>

Igor Mammedov (4):
  tests: acpi: manually pad OEM_ID/OEM_TABLE_ID for test_oem_fields()
    test
  tests: acpi: whitelist nvdimm's SSDT and FACP.slic expected blobs
  acpi: fix OEM ID/OEM Table ID padding
  tests: acpi: update expected blobs

 hw/acpi/aml-build.c              |   4 ++--
 tests/data/acpi/pc/SSDT.dimmpxm  | Bin 734 -> 734 bytes
 tests/data/acpi/q35/FACP.slic    | Bin 244 -> 244 bytes
 tests/data/acpi/q35/SSDT.dimmpxm | Bin 734 -> 734 bytes
 tests/data/acpi/virt/SSDT.memhp  | Bin 736 -> 736 bytes
 tests/qtest/bios-tables-test.c   |  15 ++++++---------
 6 files changed, 8 insertions(+), 11 deletions(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 30+ messages in thread
* [PATCH 0/4] hw: acpi: support SPCR rev. 3 & UART clock freq in ARM SPCR
@ 2025-07-18 16:20 Vadim Chichikalyuk
  2025-07-18 16:20 ` [PATCH 4/4] tests: acpi: update expected blobs Vadim Chichikalyuk
  0 siblings, 1 reply; 30+ messages in thread
From: Vadim Chichikalyuk @ 2025-07-18 16:20 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-arm, Vadim Chichikalyuk, Michael S. Tsirkin, Igor Mammedov,
	Ani Sinha, Shannon Zhao, Peter Maydell

This series fixes erroneous building of ACPI SPCR tables in hw/acpi/aml-build.c, 
where the UART clock frequency field is omitted in revision 3 tables despite
being present since revision 3 of the specification.

The last three patches update the SPCR table for the AArch64 virt machine to
revision 3, exposing the UART clock frequency, which was not previously available
via ACPI, to the guest.

Thanks,
Vadim

Signed-off-by: Vadim Chichikalyuk <chichikalyuk@gmail.com>

Vadim Chichikalyuk (4):
  hw: acpi: add support for SPCR revision 3
  tests: acpi: whitelist expected blobs
  hw: arm: acpi: add UART clock frequency to SPCR table
  tests: acpi: update expected blobs

 hw/acpi/aml-build.c               |  20 +++++++++++---------
 hw/arm/virt-acpi-build.c          |   5 +++--
 tests/data/acpi/aarch64/virt/SPCR | Bin 80 -> 80 bytes
 3 files changed, 14 insertions(+), 11 deletions(-)

-- 
2.39.5 (Apple Git-154)



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

end of thread, other threads:[~2025-07-21  9:45 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-12 13:03 [PATCH 0/4] acpi: fix short OEM [Table] ID padding Igor Mammedov
2022-01-12 13:03 ` [PATCH 1/4] tests: acpi: manually pad OEM_ID/OEM_TABLE_ID for test_oem_fields() test Igor Mammedov
2022-01-12 13:44   ` Michael S. Tsirkin
2022-01-14 11:48     ` Igor Mammedov
2022-01-14 13:09       ` Michael S. Tsirkin
2022-01-12 13:03 ` [PATCH 2/4] tests: acpi: whitelist nvdimm's SSDT and FACP.slic expected blobs Igor Mammedov
2022-01-12 13:03 ` [PATCH 3/4] acpi: fix OEM ID/OEM Table ID padding Igor Mammedov
2022-01-12 13:39   ` Michael S. Tsirkin
2022-01-12 15:16     ` Ani Sinha
2022-01-12 15:28       ` Michael S. Tsirkin
2022-01-12 15:19   ` Ani Sinha
2022-01-13  9:53   ` Dmitry V. Orekhov
2022-01-13 10:22     ` Ani Sinha
2022-01-13 13:19       ` Dmitry V. Orekhov
2022-01-31  6:17   ` Ani Sinha
2022-01-31 13:20     ` Igor Mammedov
2022-01-31 13:28       ` Ani Sinha
2022-01-31 14:10         ` Igor Mammedov
2022-01-31 14:21           ` Ani Sinha
2022-02-01  7:39             ` Igor Mammedov
2022-02-01  7:55               ` Ani Sinha
2022-02-01  9:14                 ` Igor Mammedov
2022-01-12 13:03 ` [PATCH 4/4] tests: acpi: update expected blobs Igor Mammedov
2022-01-12 15:13   ` Ani Sinha
2022-01-14 14:26 ` [PATCH 5/4] tests: acpi: test short OEM_ID/OEM_TABLE_ID values in test_oem_fields() Igor Mammedov
2022-01-14 14:53   ` Ani Sinha
2022-01-31 13:21 ` [PATCH 0/4] acpi: fix short OEM [Table] ID padding Igor Mammedov
2022-01-31 13:37   ` Michael S. Tsirkin
  -- strict thread matches above, loose matches on Subject: below --
2025-07-18 16:20 [PATCH 0/4] hw: acpi: support SPCR rev. 3 & UART clock freq in ARM SPCR Vadim Chichikalyuk
2025-07-18 16:20 ` [PATCH 4/4] tests: acpi: update expected blobs Vadim Chichikalyuk
2025-07-21  9:44   ` Jonathan Cameron via

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).