We add acpi RTC table for loongarch
The following are the changes in the DSDT table:
+ Device (RTC)
+ {
+ Name (_HID, "LOON0001") // _HID: Hardware ID
+ Name (_UID, Zero) // _UID: Unique ID
+ Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
+ {
+ QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
+ 0x0000000000000000, // Granularity
+ 0x00000000100D0100, // Range Minimum
+ 0x00000000100D01FF, // Range Maximum
+ 0x0000000000000000, // Translation Offset
+ 0x0000000000000100, // Length
+ ,, , AddressRangeMemory, TypeStatic)
+ })
+ }
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
---
Cc: Song Gao <gaosong@loongson.cn>
Cc: Bibo Mao <maobibo@loongson.cn>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: "Huacai Chen"<zltjiangshi@gmail.com>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>
tests/data/acpi/loongarch64/virt/DSDT | Bin 4603 -> 4689 bytes
tests/data/acpi/loongarch64/virt/DSDT.memhp | Bin 5824 -> 5910 bytes
tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4695 bytes
.../data/acpi/loongarch64/virt/DSDT.topology | Bin 4905 -> 4991 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 09aa903c4e875f541223e36f59b28e101599df20..4c7354721e76c9e3813c3502a8c51b41f26a3cd7 100644
GIT binary patch
delta 90
zcmeyZd{KqVCD<h-P>6wn@x(^1bxd|HtU)2p@f`6Uo-VvT{{DUj1_p)<9Py!^E<n;b
iC|J;#%b-h}fq{pS0R|X(1whRIKzd?<$mT6f?)(7LU=rK_
delta 24
fcmcbp@>`k9CD<k8w;%%pW6VabbxfQ2n4S3nXT1kE
diff --git a/tests/data/acpi/loongarch64/virt/DSDT.memhp b/tests/data/acpi/loongarch64/virt/DSDT.memhp
index a069d6878fb45fa6b0e6342eedb0eb3d25eb20da..c578e7fe34b2dd70b4a1a07d5a08c1ae29533b04 100644
GIT binary patch
delta 90
zcmX@0J57(vCD<iIOq_v%@$5#fbxd|HtU)2p@f`6Uo-VvT{{DUj1_p)<9Py!^E<n;b
iC|J;#%b-h}fq{pS0R|X(1whRIKzd?<$mT6fJR$(0DiRX_
delta 24
fcmbQHcR-iRCD<k8fEWV<W8y}xbxfQ2m^nlMTWtnz
diff --git a/tests/data/acpi/loongarch64/virt/DSDT.numamem b/tests/data/acpi/loongarch64/virt/DSDT.numamem
index 78ece52f57a383db128c7d1a08526e15ab911bb7..c47629c9bc817cc152b572be3145344534ce9ba9 100644
GIT binary patch
delta 90
zcmZovxvs+H66_KZF2umV7_yOT9h034Yfy-DJV(5Trwgx-zrUY>fq@|dM|`NK3y^dU
i3KlfxGU(D~VBle7fB{Bc0TA;)ke*l|vUv-WFFyc^XA%Jb
delta 24
fcmcbv(x}4a66_MfD8#_P_<SSRI;PEh%%1!JRLBNg
diff --git a/tests/data/acpi/loongarch64/virt/DSDT.topology b/tests/data/acpi/loongarch64/virt/DSDT.topology
index 7ab23f47cc82dd7bc1975e17893a8cd61039e66d..368e4ee41727ca521b1906be2b021a6550bdda07 100644
GIT binary patch
delta 90
zcmZ3f_Fs+5CD<jTUYLP_(PkspIwm_8)}RpQc#e1vPZwSve}6v%0|P?_j`&bd7a-{z
i6f9`WWzeO~z`(=E00WG?0wCspAU&}_Wb+oLQUL(1z!HxD
delta 24
fcmeybwo;ADCD<iIQ<#B)@%%=vbxfQ2m<t5}UKa-H
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.39.1