qemu/tests/data/acpi/q35
Igor Mammedov 13508ea26a tests: acpi: update expected blobs
An intermediate blobs update to keep changes (last 2 patches)
reviewable.

Includes refactored PDSM that uses Package argument for custom
parameters.

 ===== PDSM taking package as arguments

             Return (Local0)
         }

-        Method (PDSM, 6, Serialized)
+        Method (PDSM, 5, Serialized)
         {
-            If ((Arg0 == ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */))
+            If ((Arg2 == Zero))
             {
-                Local0 = AIDX (Arg4, Arg5)
-                If ((Arg2 == Zero))
-                {
-                    If ((Arg1 == 0x02))
+                Local0 = Buffer (One)
                     {
-                        If (!((Local0 == Zero) | (Local0 == 0xFFFFFFFF)))
-                        {
-                            Return (Buffer (One)
-                            {
-                                 0x81                                             // .
-                            })
-                        }
+                         0x00                                             // .
                     }
+                Local1 = Zero
+                If ((Arg0 != ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device Labeling Interface */))
+                {
+                    Return (Local0)
+                }

-                    Return (Buffer (One)
-                    {
-                         0x00                                             // .
-                    })
+                If ((Arg1 < 0x02))
+                {
+                    Return (Local0)
                 }
-                ElseIf ((Arg2 == 0x07))
+
+                Local2 = AIDX (DerefOf (Arg4 [Zero]), DerefOf (Arg4 [One]
+                    ))
+                If (!((Local2 == Zero) | (Local2 == 0xFFFFFFFF)))
                 {
-                    Local1 = Package (0x02)
-                        {
-                            Zero,
-                            ""
-                        }
-                    Local1 [Zero] = Local0
-                    Return (Local1)
+                    Local1 |= One
+                    Local1 |= (One << 0x07)
                 }
+
+                Local0 [Zero] = Local1
+                Return (Local0)
+            }
+
+            If ((Arg2 == 0x07))
+            {
+                Local0 = Package (0x02)
+                    {
+                        Zero,
+                        ""
+                    }
+                Local2 = AIDX (DerefOf (Arg4 [Zero]), DerefOf (Arg4 [One]
+                    ))
+                Local0 [Zero] = Local2
+                Return (Local0)
             }
         }
     }

 =====  PCI slot using Package to pass arguments to _DSM

                 Name (ASUN, Zero)
                 Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
                 {
-                    Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, ASUN))
+                    Local0 = Package (0x02)
+                        {
+                            BSEL,
+                            ASUN
+                        }
+                    Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0))
                 }
             }

 ===== hotpluggable PCI slot using Package to pass arguments to _DSM

                 Method (_DSM, 4, Serialized)  // _DSM: Device-Specific Method
                 {
-                    Return (PDSM (Arg0, Arg1, Arg2, Arg3, BSEL, _SUN))
+                    Local0 = Package (0x02)
+                        {
+                            BSEL,
+                            _SUN
+                        }
+                    Return (PDSM (Arg0, Arg1, Arg2, Arg3, Local0))
                 }
             }

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220701133515.137890-8-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-10-09 16:38:45 -04:00
..
APIC tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
APIC.acpihmat tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
APIC.cphp tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
APIC.dimmpxm tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
APIC.xapic tests: acpi: update expected tables blobs 2021-10-20 04:37:55 -04:00
CEDT.cxl tests/acpi: Update q35/CEDT.cxl for new memory addresses. 2022-06-09 19:32:49 -04:00
DMAR.dmar tests: acpi: add expected blob for DMAR table 2021-10-20 04:37:55 -04:00
DSDT tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.acpierst tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.acpihmat tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.applesmc tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.bridge tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.cphp tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.cxl tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.dimmpxm tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.ipmibt tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.ipmismbus tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.ivrs tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.memhp tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.mmio64 tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.multi-bridge tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.nohpet tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.numamem tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.pvpanic-isa tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.tis.tpm2 tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.tis.tpm12 tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.viot tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
DSDT.xapic tests: acpi: update expected blobs 2022-10-09 16:38:45 -04:00
ERST.acpierst ACPI ERST: step 6 of bios-tables-test.c 2022-02-06 04:33:50 -05:00
FACP tests/acpi: i386: update FACP table differences 2022-03-06 16:06:16 -05:00
FACP.nosmm tests/acpi: i386: update FACP table differences 2022-03-06 16:06:16 -05:00
FACP.slic tests/acpi: i386: update FACP table differences 2022-03-06 16:06:16 -05:00
FACP.xapic tests/acpi: i386: update FACP table differences 2022-03-06 16:06:16 -05:00
FACS tests: Move tests/acpi-test-data/ to tests/data/acpi/ 2018-11-05 13:23:31 -05:00
HMAT.acpihmat tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
HPET tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
IVRS.ivrs tests: acpi: update expected blobs 2021-10-20 04:37:55 -04:00
MCFG tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
NFIT.dimmpxm tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SLIC.slic tests: acpi: SLIC: update expected blobs 2022-01-07 19:30:13 -05:00
SLIT.cphp tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SLIT.memhp tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.acpihmat tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.cphp tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.dimmpxm tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.memhp tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.mmio64 tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.numamem tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00
SRAT.xapic tests: acpi: update expected tables blobs 2021-10-20 04:37:55 -04:00
SSDT.dimmpxm tests: acpi: update expected blobs 2022-02-04 09:07:43 -05:00
TCPA.tis.tpm12 tests: acpi: tpm1.2: Add expected TPM 1.2 ACPI blobs 2021-08-31 17:33:12 -04:00
TPM2.tis.tpm2 tests: acpi: tpm2: Add the renamed ACPI files and drop old ones 2021-08-31 17:33:12 -04:00
VIOT.viot tests/acpi: virt: update golden masters for VIOT 2022-06-09 19:32:49 -04:00
WAET tests/acpi: update expected data files 2021-02-05 08:52:59 -05:00