[PATCH 3/3] tests/data/acpi/loongarch64: Update expected DSDT.*

Huacai Chen posted 3 patches 5 days ago
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>
[PATCH 3/3] tests/data/acpi/loongarch64: Update expected DSDT.*
Posted by Huacai Chen 5 days ago
DSDT diffs from "iasl -d":

@@ -11,7 +11,7 @@
  *     Signature        "DSDT"
  *     Length           0x000011FB (4603)
  *     Revision         0x01 **** 32-bit table (V1), no 64-bit math support
- *     Checksum         0x5D
+ *     Checksum         0x5B
  *     OEM ID           "BOCHS "
  *     OEM Table ID     "BXPC    "
  *     OEM Revision     0x00000001 (1)
@@ -1426,11 +1426,11 @@
             Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
             {
                 Memory32Fixed (ReadWrite,
-                    0x100E001F,         // Address Base
+                    0x100E0020,         // Address Base
                     0x0000000C,         // Address Length
                     )
             })
-            OperationRegion (PRST, SystemMemory, 0x100E001F, 0x0C)
+            OperationRegion (PRST, SystemMemory, 0x100E0020, 0x0C)
             Field (PRST, ByteAcc, NoLock, WriteAsZeros)
             {
                 Offset (0x04), 

Signed-off-by: Huacai Chen <chenhuacai@kernel.org>
---
 tests/data/acpi/loongarch64/virt/DSDT         | Bin 4603 -> 4603 bytes
 tests/data/acpi/loongarch64/virt/DSDT.memhp   | Bin 5824 -> 5824 bytes
 tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4609 bytes
 .../data/acpi/loongarch64/virt/DSDT.topology  | Bin 4905 -> 4905 bytes
 tests/qtest/bios-tables-test-allowed-diff.h   |   4 ----
 5 files changed, 4 deletions(-)

diff --git a/tests/data/acpi/loongarch64/virt/DSDT b/tests/data/acpi/loongarch64/virt/DSDT
index b31841aec6ed296f10ea1695a67ead38f45424d5..55aa34f988d6ef69293e91c5fe45bee0a02bc5f1 100644
GIT binary patch
delta 44
zcmeyZ{9BpJCD<k8w;%%pWAsL@BfP>2415AS3=9mF4ABh%LBSymJPMm1@=CD)02#3h
APXGV_

delta 44
zcmeyZ{9BpJCD<k8w;%%pW9&w*BfP@$415AS3=9mF4ABh%LBSymJo1|#@=CD)02$8<
APXGV_

diff --git a/tests/data/acpi/loongarch64/virt/DSDT.memhp b/tests/data/acpi/loongarch64/virt/DSDT.memhp
index e291200fc91caa3d93dcd6ec4736f7340f5e3f65..c0955eb60448cc5f4d38d410abc260ae54ea2e9a 100644
GIT binary patch
delta 44
zcmX@0dq9`VCD<k8fEWV<W5PzRW+7n(20j5E1_p*ohUkWXpx_V&9)-;dgcMi+`vnS0

delta 44
zcmX@0dq9`VCD<k8fEWV<W70;hW+7pD20j5E1_p*ohUkWXpx_V&9{J4+gcMi+`y&cU

diff --git a/tests/data/acpi/loongarch64/virt/DSDT.numamem b/tests/data/acpi/loongarch64/virt/DSDT.numamem
index 07923ac39584c5a5e73c9556d251814ce10de6cc..61e47e7252155dcf9c76879c4f60f4b3eef63f86 100644
GIT binary patch
delta 44
zcmZovX;k5I33dr#6k=dte72G62(PdL1D^m70|P@PLv%wxP;dwXkHY4Myb3G;-$V)Z

delta 44
zcmZovX;k5I33dr#6k=dte6f-12(Pd_1D^m70|P@PLv%wxP;dwXkNoC`yb3G;-(m^%

diff --git a/tests/data/acpi/loongarch64/virt/DSDT.topology b/tests/data/acpi/loongarch64/virt/DSDT.topology
index 6dfbb495f88b74b87849b58473e46717bc588a56..b2afebc938ce45d798c8aa5f45a463f1617e257e 100644
GIT binary patch
delta 44
zcmZ3fwo;ADCD<iIQ<#B)@!UqPBfP>2415AS3=9mF4ABh%LBSymJPMm1@_MiW0PuGT
Ag8%>k

delta 44
zcmZ3fwo;ADCD<iIQ<#B)@xn%~BfP@$415AS3=9mF4ABh%LBSymJo1|#@_MiW0PvLx
Ag8%>k

diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
index 2ed837faee..dfb8523c8b 100644
--- a/tests/qtest/bios-tables-test-allowed-diff.h
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
@@ -1,5 +1 @@
 /* List of comma-separated changed AML files to ignore */
-"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",
-- 
2.47.3
Re: [PATCH 3/3] tests/data/acpi/loongarch64: Update expected DSDT.*
Posted by Bibo Mao 4 days, 8 hours ago
Add Michael

On 2025/9/23 下午10:35, Huacai Chen wrote:
> DSDT diffs from "iasl -d":
> 
> @@ -11,7 +11,7 @@
>    *     Signature        "DSDT"
>    *     Length           0x000011FB (4603)
>    *     Revision         0x01 **** 32-bit table (V1), no 64-bit math support
> - *     Checksum         0x5D
> + *     Checksum         0x5B
>    *     OEM ID           "BOCHS "
>    *     OEM Table ID     "BXPC    "
>    *     OEM Revision     0x00000001 (1)
> @@ -1426,11 +1426,11 @@
>               Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
>               {
>                   Memory32Fixed (ReadWrite,
> -                    0x100E001F,         // Address Base
> +                    0x100E0020,         // Address Base
>                       0x0000000C,         // Address Length
>                       )
>               })
> -            OperationRegion (PRST, SystemMemory, 0x100E001F, 0x0C)
> +            OperationRegion (PRST, SystemMemory, 0x100E0020, 0x0C)
>               Field (PRST, ByteAcc, NoLock, WriteAsZeros)
>               {
>                   Offset (0x04),
> 
> Signed-off-by: Huacai Chen <chenhuacai@kernel.org>
> ---
>   tests/data/acpi/loongarch64/virt/DSDT         | Bin 4603 -> 4603 bytes
>   tests/data/acpi/loongarch64/virt/DSDT.memhp   | Bin 5824 -> 5824 bytes
>   tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4609 bytes
>   .../data/acpi/loongarch64/virt/DSDT.topology  | Bin 4905 -> 4905 bytes
>   tests/qtest/bios-tables-test-allowed-diff.h   |   4 ----
>   5 files changed, 4 deletions(-)
> 
> diff --git a/tests/data/acpi/loongarch64/virt/DSDT b/tests/data/acpi/loongarch64/virt/DSDT
> index b31841aec6ed296f10ea1695a67ead38f45424d5..55aa34f988d6ef69293e91c5fe45bee0a02bc5f1 100644
> GIT binary patch
> delta 44
> zcmeyZ{9BpJCD<k8w;%%pWAsL@BfP>2415AS3=9mF4ABh%LBSymJPMm1@=CD)02#3h
> APXGV_
> 
> delta 44
> zcmeyZ{9BpJCD<k8w;%%pW9&w*BfP@$415AS3=9mF4ABh%LBSymJo1|#@=CD)02$8<
> APXGV_
> 
> diff --git a/tests/data/acpi/loongarch64/virt/DSDT.memhp b/tests/data/acpi/loongarch64/virt/DSDT.memhp
> index e291200fc91caa3d93dcd6ec4736f7340f5e3f65..c0955eb60448cc5f4d38d410abc260ae54ea2e9a 100644
> GIT binary patch
> delta 44
> zcmX@0dq9`VCD<k8fEWV<W5PzRW+7n(20j5E1_p*ohUkWXpx_V&9)-;dgcMi+`vnS0
> 
> delta 44
> zcmX@0dq9`VCD<k8fEWV<W70;hW+7pD20j5E1_p*ohUkWXpx_V&9{J4+gcMi+`y&cU
> 
> diff --git a/tests/data/acpi/loongarch64/virt/DSDT.numamem b/tests/data/acpi/loongarch64/virt/DSDT.numamem
> index 07923ac39584c5a5e73c9556d251814ce10de6cc..61e47e7252155dcf9c76879c4f60f4b3eef63f86 100644
> GIT binary patch
> delta 44
> zcmZovX;k5I33dr#6k=dte72G62(PdL1D^m70|P@PLv%wxP;dwXkHY4Myb3G;-$V)Z
> 
> delta 44
> zcmZovX;k5I33dr#6k=dte6f-12(Pd_1D^m70|P@PLv%wxP;dwXkNoC`yb3G;-(m^%
> 
> diff --git a/tests/data/acpi/loongarch64/virt/DSDT.topology b/tests/data/acpi/loongarch64/virt/DSDT.topology
> index 6dfbb495f88b74b87849b58473e46717bc588a56..b2afebc938ce45d798c8aa5f45a463f1617e257e 100644
> GIT binary patch
> delta 44
> zcmZ3fwo;ADCD<iIQ<#B)@!UqPBfP>2415AS3=9mF4ABh%LBSymJPMm1@_MiW0PuGT
> Ag8%>k
> 
> delta 44
> zcmZ3fwo;ADCD<iIQ<#B)@xn%~BfP@$415AS3=9mF4ABh%LBSymJo1|#@_MiW0PvLx
> Ag8%>k
> 
> diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
> index 2ed837faee..dfb8523c8b 100644
> --- a/tests/qtest/bios-tables-test-allowed-diff.h
> +++ b/tests/qtest/bios-tables-test-allowed-diff.h
> @@ -1,5 +1 @@
>   /* List of comma-separated changed AML files to ignore */
> -"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",
> 


Re: [PATCH 3/3] tests/data/acpi/loongarch64: Update expected DSDT.*
Posted by Michael S. Tsirkin 4 days, 6 hours ago
On Wed, Sep 24, 2025 at 03:26:13PM +0800, Bibo Mao wrote:
> Add Michael
> 
> On 2025/9/23 下午10:35, Huacai Chen wrote:
> > DSDT diffs from "iasl -d":
> > 
> > @@ -11,7 +11,7 @@
> >    *     Signature        "DSDT"
> >    *     Length           0x000011FB (4603)
> >    *     Revision         0x01 **** 32-bit table (V1), no 64-bit math support
> > - *     Checksum         0x5D
> > + *     Checksum         0x5B
> >    *     OEM ID           "BOCHS "
> >    *     OEM Table ID     "BXPC    "
> >    *     OEM Revision     0x00000001 (1)
> > @@ -1426,11 +1426,11 @@
> >               Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
> >               {
> >                   Memory32Fixed (ReadWrite,
> > -                    0x100E001F,         // Address Base
> > +                    0x100E0020,         // Address Base
> >                       0x0000000C,         // Address Length
> >                       )
> >               })
> > -            OperationRegion (PRST, SystemMemory, 0x100E001F, 0x0C)
> > +            OperationRegion (PRST, SystemMemory, 0x100E0020, 0x0C)
> >               Field (PRST, ByteAcc, NoLock, WriteAsZeros)
> >               {
> >                   Offset (0x04),
> > 
> > Signed-off-by: Huacai Chen <chenhuacai@kernel.org>


this does what the patch says it does

Acked-by: Michael S. Tsirkin <mst@redhat.com>

up to maintainers to figure out if it's TRT

> > ---
> >   tests/data/acpi/loongarch64/virt/DSDT         | Bin 4603 -> 4603 bytes
> >   tests/data/acpi/loongarch64/virt/DSDT.memhp   | Bin 5824 -> 5824 bytes
> >   tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4609 bytes
> >   .../data/acpi/loongarch64/virt/DSDT.topology  | Bin 4905 -> 4905 bytes
> >   tests/qtest/bios-tables-test-allowed-diff.h   |   4 ----
> >   5 files changed, 4 deletions(-)
> > 
> > diff --git a/tests/data/acpi/loongarch64/virt/DSDT b/tests/data/acpi/loongarch64/virt/DSDT
> > index b31841aec6ed296f10ea1695a67ead38f45424d5..55aa34f988d6ef69293e91c5fe45bee0a02bc5f1 100644
> > GIT binary patch
> > delta 44
> > zcmeyZ{9BpJCD<k8w;%%pWAsL@BfP>2415AS3=9mF4ABh%LBSymJPMm1@=CD)02#3h
> > APXGV_
> > 
> > delta 44
> > zcmeyZ{9BpJCD<k8w;%%pW9&w*BfP@$415AS3=9mF4ABh%LBSymJo1|#@=CD)02$8<
> > APXGV_
> > 
> > diff --git a/tests/data/acpi/loongarch64/virt/DSDT.memhp b/tests/data/acpi/loongarch64/virt/DSDT.memhp
> > index e291200fc91caa3d93dcd6ec4736f7340f5e3f65..c0955eb60448cc5f4d38d410abc260ae54ea2e9a 100644
> > GIT binary patch
> > delta 44
> > zcmX@0dq9`VCD<k8fEWV<W5PzRW+7n(20j5E1_p*ohUkWXpx_V&9)-;dgcMi+`vnS0
> > 
> > delta 44
> > zcmX@0dq9`VCD<k8fEWV<W70;hW+7pD20j5E1_p*ohUkWXpx_V&9{J4+gcMi+`y&cU
> > 
> > diff --git a/tests/data/acpi/loongarch64/virt/DSDT.numamem b/tests/data/acpi/loongarch64/virt/DSDT.numamem
> > index 07923ac39584c5a5e73c9556d251814ce10de6cc..61e47e7252155dcf9c76879c4f60f4b3eef63f86 100644
> > GIT binary patch
> > delta 44
> > zcmZovX;k5I33dr#6k=dte72G62(PdL1D^m70|P@PLv%wxP;dwXkHY4Myb3G;-$V)Z
> > 
> > delta 44
> > zcmZovX;k5I33dr#6k=dte6f-12(Pd_1D^m70|P@PLv%wxP;dwXkNoC`yb3G;-(m^%
> > 
> > diff --git a/tests/data/acpi/loongarch64/virt/DSDT.topology b/tests/data/acpi/loongarch64/virt/DSDT.topology
> > index 6dfbb495f88b74b87849b58473e46717bc588a56..b2afebc938ce45d798c8aa5f45a463f1617e257e 100644
> > GIT binary patch
> > delta 44
> > zcmZ3fwo;ADCD<iIQ<#B)@!UqPBfP>2415AS3=9mF4ABh%LBSymJPMm1@_MiW0PuGT
> > Ag8%>k
> > 
> > delta 44
> > zcmZ3fwo;ADCD<iIQ<#B)@xn%~BfP@$415AS3=9mF4ABh%LBSymJo1|#@_MiW0PvLx
> > Ag8%>k
> > 
> > diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
> > index 2ed837faee..dfb8523c8b 100644
> > --- a/tests/qtest/bios-tables-test-allowed-diff.h
> > +++ b/tests/qtest/bios-tables-test-allowed-diff.h
> > @@ -1,5 +1 @@
> >   /* List of comma-separated changed AML files to ignore */
> > -"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",
> >