Skip to content

acpi: xsdt support

Michael S. Tsirkin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 16 repliesIn review
  2. v14 patches 11 repliesSuperseded

Changes in v2 from the cover letter

xsdt address is 64 bit
arm patch is now tested

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4acpi: add API for 64 bit offsetshw/acpi/aml-build.c hw/arm/virt-acpi-build.c hw/i386/acpi-build.c +1 more+26 -180 replies
2/4i386/acpi: collect 64 bit offsets for xsdthw/i386/acpi-build.c+18 -140 replies
3/4i386/acpi: add XSDThw/acpi/aml-build.c hw/i386/acpi-build.c include/hw/acpi/acpi-defs.h +1 more+66 -210 replies
4/4acpi: unify rsdp generationhw/acpi/aml-build.c hw/arm/virt-acpi-build.c hw/i386/acpi-build.c +1 more+48 -710 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchShannon Zhao
1/4
2/4
3/4
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] acpi: xsdt support

XSDT support allows using ACPI 2 features while avoiding breaking legacy windows XP guests:
ACPI 2 tables are linked from XSDT only, ACPI 1 tables from both RSDT and XSDT, this way XP does not see ACPI 2 tables.

As a first step, this patchset generates v2 RSDP and fills in XSDT matching RSDT exactly.

ARM can switch to XSDT as well, I'm not bothering until there's an easy way to test that.

Note: unit test files need to be updated with this, I'm not bothering with posting them.

Changes from v1:
xsdt address is 64 bit
arm patch is now tested

Michael S. Tsirkin (4):
acpi: add API for 64 bit offsets i386/acpi: collect 64 bit offsets for xsdt i386/acpi: add XSDT
acpi: unify rsdp generation

 include/hw/acpi/acpi-defs.h | 15 +++++--
 include/hw/acpi/aml-build.h |  7 +++-
 hw/acpi/aml-build.c         | 99 +++++++++++++++++++++++++++++++++++++--------
 hw/arm/virt-acpi-build.c    | 39 +++---------------
 hw/i386/acpi-build.c        | 64 +++++++++++------------------
 5 files changed, 129 insertions(+), 95 deletions(-)
Signature · 1 line
MST