mbox series

[V2,0/3] Fixes CPUs AML & acpi-bios-tables to be x86 backward compatible

Message ID 20241109000728.206825-1-salil.mehta@huawei.com (mailing list archive)
Headers show
Series Fixes CPUs AML & acpi-bios-tables to be x86 backward compatible | expand

Message

Salil Mehta Nov. 9, 2024, 12:07 a.m. UTC
Fixes the the CPUs AML code and its corresponding golden masters ACPI
tables files for backward compatability of live migration on x86 platforms
i.e. when newer Qemu is migrated to older Qemu without `CPRS` Bit present
in the register block. This also reverts the ACPI ABI change introduced for
checking the `presence` of vCPUs dynamically (feedback from Igor Mammedov)

Fixes [PULL 60/65], [PULL 61/65]:
Message-ID: <bf1ecc8dad6061914730a2a2d57af6b37c3a4f8d.1730754238.git.mst@redhat.com>
Message-ID: <4d62d15b11909e9af121577e707b88f2e4524371.1730754238.git.mst@redhat.com>

Salil Mehta (3):
  qtest: allow ACPI DSDT Table changes
  Fix: CPUs presence logic in _STA for x86 backward compatability
  tests/qtest/bios-tables-test: Fix DSDT golden masters for x86/{pc,q35}

 hw/acpi/cpu.c                                 |  49 +++++++-----------
 include/hw/acpi/cpu.h                         |   1 +
 include/hw/core/cpu.h                         |   1 -
 tests/data/acpi/x86/pc/DSDT                   | Bin 8561 -> 8528 bytes
 tests/data/acpi/x86/pc/DSDT.acpierst          | Bin 8472 -> 8439 bytes
 tests/data/acpi/x86/pc/DSDT.acpihmat          | Bin 9886 -> 9853 bytes
 tests/data/acpi/x86/pc/DSDT.bridge            | Bin 15432 -> 15399 bytes
 tests/data/acpi/x86/pc/DSDT.cphp              | Bin 9025 -> 8992 bytes
 tests/data/acpi/x86/pc/DSDT.dimmpxm           | Bin 10215 -> 10182 bytes
 tests/data/acpi/x86/pc/DSDT.hpbridge          | Bin 8512 -> 8479 bytes
 tests/data/acpi/x86/pc/DSDT.hpbrroot          | Bin 5068 -> 5035 bytes
 tests/data/acpi/x86/pc/DSDT.ipmikcs           | Bin 8633 -> 8600 bytes
 tests/data/acpi/x86/pc/DSDT.memhp             | Bin 9920 -> 9887 bytes
 tests/data/acpi/x86/pc/DSDT.nohpet            | Bin 8419 -> 8386 bytes
 tests/data/acpi/x86/pc/DSDT.numamem           | Bin 8567 -> 8534 bytes
 tests/data/acpi/x86/pc/DSDT.roothp            | Bin 12354 -> 12321 bytes
 tests/data/acpi/x86/q35/DSDT                  | Bin 8389 -> 8356 bytes
 tests/data/acpi/x86/q35/DSDT.acpierst         | Bin 8406 -> 8373 bytes
 tests/data/acpi/x86/q35/DSDT.acpihmat         | Bin 9714 -> 9681 bytes
 .../acpi/x86/q35/DSDT.acpihmat-noinitiator    | Bin 8668 -> 8635 bytes
 tests/data/acpi/x86/q35/DSDT.applesmc         | Bin 8435 -> 8402 bytes
 tests/data/acpi/x86/q35/DSDT.bridge           | Bin 12002 -> 11969 bytes
 tests/data/acpi/x86/q35/DSDT.core-count       | Bin 12947 -> 12914 bytes
 tests/data/acpi/x86/q35/DSDT.core-count2      | Bin 33804 -> 33771 bytes
 tests/data/acpi/x86/q35/DSDT.cphp             | Bin 8853 -> 8820 bytes
 tests/data/acpi/x86/q35/DSDT.cxl              | Bin 13182 -> 13149 bytes
 tests/data/acpi/x86/q35/DSDT.dimmpxm          | Bin 10043 -> 10010 bytes
 tests/data/acpi/x86/q35/DSDT.ipmibt           | Bin 8464 -> 8431 bytes
 tests/data/acpi/x86/q35/DSDT.ipmismbus        | Bin 8477 -> 8444 bytes
 tests/data/acpi/x86/q35/DSDT.ivrs             | Bin 8406 -> 8373 bytes
 tests/data/acpi/x86/q35/DSDT.memhp            | Bin 9748 -> 9715 bytes
 tests/data/acpi/x86/q35/DSDT.mmio64           | Bin 9519 -> 9486 bytes
 tests/data/acpi/x86/q35/DSDT.multi-bridge     | Bin 13242 -> 13209 bytes
 tests/data/acpi/x86/q35/DSDT.noacpihp         | Bin 8269 -> 8236 bytes
 tests/data/acpi/x86/q35/DSDT.nohpet           | Bin 8247 -> 8214 bytes
 tests/data/acpi/x86/q35/DSDT.numamem          | Bin 8395 -> 8362 bytes
 tests/data/acpi/x86/q35/DSDT.pvpanic-isa      | Bin 8490 -> 8457 bytes
 tests/data/acpi/x86/q35/DSDT.thread-count     | Bin 12947 -> 12914 bytes
 tests/data/acpi/x86/q35/DSDT.thread-count2    | Bin 33804 -> 33771 bytes
 tests/data/acpi/x86/q35/DSDT.tis.tpm12        | Bin 8995 -> 8962 bytes
 tests/data/acpi/x86/q35/DSDT.tis.tpm2         | Bin 9021 -> 8988 bytes
 tests/data/acpi/x86/q35/DSDT.type4-count      | Bin 18623 -> 18590 bytes
 tests/data/acpi/x86/q35/DSDT.viot             | Bin 14649 -> 14616 bytes
 tests/data/acpi/x86/q35/DSDT.xapic            | Bin 35752 -> 35719 bytes
 44 files changed, 19 insertions(+), 32 deletions(-)