]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest/bios-tables-test: Update DSDT blobs after GPEX _OSC change
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Jul 2025 21:49:03 +0000 (17:49 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jul 2025 06:56:40 +0000 (02:56 -0400)
commitf47d6e6a8f69c8890207d3f771e079700418f7a6
treede771b7cc2d952796d728d686db6da9e636b15ae
parentaf151d50eac24604be19d0fc3bd6492979b0f399
tests/qtest/bios-tables-test: Update DSDT blobs after GPEX _OSC change

Update the reference DSDT blobs after GPEX _OSC change. The _OSC change
affects the aarch64 'virt' and the x86 'microvm' machines.

DSDT diff is the same for all the machines/tests:

  * Original Table Header:
  *     Signature        "DSDT"
- *     Length           0x00001A4F (6735)
+ *     Length           0x00001A35 (6709)
  *     Revision         0x02
- *     Checksum         0xBF
+ *     Checksum         0xDD
  *     OEM ID           "BOCHS "
  *     OEM Table ID     "BXPC    "
  *     OEM Revision     0x00000001 (1)
@@ -1849,27 +1849,26 @@ DefinitionBlock ("", "DSDT", 2, "BOCHS ", "BXPC    ", 0x00000001)
                 {
                     CreateDWordField (Arg3, 0x04, CDW2)
                     CreateDWordField (Arg3, 0x08, CDW3)
-                    SUPP = CDW2 /* \_SB_.PCI0._OSC.CDW2 */
-                    CTRL = CDW3 /* \_SB_.PCI0._OSC.CDW3 */
-                    CTRL &= 0x1F
+                    Local0 = CDW3 /* \_SB_.PCI0._OSC.CDW3 */
+                    Local0 &= 0x1F
                     If ((Arg1 != One))
                     {
                         CDW1 |= 0x08
                     }

-                    If ((CDW3 != CTRL))
+                    If ((CDW3 != Local0))
                     {
                         CDW1 |= 0x10
                     }

-                    CDW3 = CTRL /* \_SB_.PCI0.CTRL */
-                    Return (Arg3)
+                    CDW3 = Local0
                 }
                 Else
                 {
                     CDW1 |= 0x04
-                    Return (Arg3)
                 }
+
+                Return (Arg3)
             }

             Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20250714080639.2525563-11-eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
12 files changed:
tests/data/acpi/aarch64/virt/DSDT
tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt
tests/data/acpi/aarch64/virt/DSDT.memhp
tests/data/acpi/aarch64/virt/DSDT.pxb
tests/data/acpi/aarch64/virt/DSDT.topology
tests/data/acpi/loongarch64/virt/DSDT
tests/data/acpi/loongarch64/virt/DSDT.memhp
tests/data/acpi/loongarch64/virt/DSDT.numamem
tests/data/acpi/loongarch64/virt/DSDT.topology
tests/data/acpi/riscv64/virt/DSDT
tests/data/acpi/x86/microvm/DSDT.pcie
tests/qtest/bios-tables-test-allowed-diff.h