xemu/tests/data/acpi
Salil Mehta 4d62d15b11 tests/qtest/bios-tables-test: Update DSDT golden masters for x86/{pc,q35}
Update DSDT golden master files for x86/pc and x86/q35 platforms to
accommodate changes made in the architecture-agnostic CPU AML. These
updates notify the guest OS of vCPU hot-plug and hot-unplug status
using the ACPI `_STA.Enabled` bit.

The following is a diff of the changes in the .dsl file generated with
IASL:

@@ -1480,6 +1480,7 @@
                 CRMV,   1,
                 CEJ0,   1,
                 CEJF,   1,
+                CPRS,   1,
                 Offset (0x05),
                 CCMD,   8
             }
@@ -1514,9 +1515,16 @@
                 Acquire (\_SB.PCI0.PRES.CPLK, 0xFFFF)
                 \_SB.PCI0.PRES.CSEL = Arg0
                 Local0 = Zero
-                If ((\_SB.PCI0.PRES.CPEN == One))
-                {
-                    Local0 = 0x0F
+                If ((\_SB.PCI0.PRES.CPRS == One))
+                {
+                    If ((\_SB.PCI0.PRES.CPEN == One))
+                    {
+                        Local0 = 0x0F
+                    }
+                    Else
+                    {
+                        Local0 = 0x0D
+                    }
                 }

                 Release (\_SB.PCI0.PRES.CPLK)

Reported-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-11-04 16:03:25 -05:00
..
aarch64/virt tests/acpi: update aarch64/virt/SSDT.memhp 2024-09-17 10:26:27 +02:00
riscv64/virt tests/acpi: Add expected ACPI SRAT AML file for RISC-V 2024-10-02 15:11:51 +10:00
x86 tests/qtest/bios-tables-test: Update DSDT golden masters for x86/{pc,q35} 2024-11-04 16:03:25 -05:00
disassemle-aml.sh acpi/disassemle-aml.sh: fix up after dir reorg 2024-11-04 16:03:24 -05:00
rebuild-expected-aml.sh tests/data/acpi/rebuild-expected-aml.sh: Add RISC-V 2024-07-03 18:14:07 -04:00