[PATCH 5/5] tests: acpi: update expected WDAT blob

Igor Mammedov posted 5 patches 2 weeks, 1 day ago
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>
[PATCH 5/5] tests: acpi: update expected WDAT blob
Posted by Igor Mammedov 2 weeks, 1 day ago
replace blank table with a new one:

+[000h 0000   4]                    Signature : "WDAT"    [Watchdog Action Table]
+[004h 0004   4]                 Table Length : 00000134
+[008h 0008   1]                     Revision : 01
+[009h 0009   1]                     Checksum : 31
+[00Ah 0010   6]                       Oem ID : "BOCHS "
+[010h 0016   8]                 Oem Table ID : "BXPC    "
+[018h 0024   4]                 Oem Revision : 00000001
+[01Ch 0028   4]              Asl Compiler ID : "BXPC"
+[020h 0032   4]        Asl Compiler Revision : 00000001
+
+[024h 0036   4]                Header Length : 00000020
+[028h 0040   2]                  PCI Segment : 00FF
+[02Ah 0042   1]                      PCI Bus : FF
+[02Bh 0043   1]                   PCI Device : FF
+[02Ch 0044   1]                 PCI Function : FF
+[02Dh 0045   3]                     Reserved : 000000
+[030h 0048   4]                 Timer Period : 00000258
+[034h 0052   4]                    Max Count : 000003FF
+[038h 0056   4]                    Min Count : 00000004
+[03Ch 0060   1]        Flags (decoded below) : 81
+                                     Enabled : 1
+                         Stopped When Asleep : 1
+[03Dh 0061   3]                     Reserved : 000000
+[040h 0064   4]         Watchdog Entry Count : 0000000A
+
+[044h 0068   1]              Watchdog Action : 01
+[045h 0069   1]                  Instruction : 02
+[046h 0070   2]                     Reserved : 0000
+
+[048h 0072  12]              Register Region : [Generic Address Structure]
+[048h 0072   1]                     Space ID : 01 [SystemIO]
+[049h 0073   1]                    Bit Width : 10
+[04Ah 0074   1]                   Bit Offset : 00
+[04Bh 0075   1]         Encoded Access Width : 02 [Word Access:16]
+[04Ch 0076   8]                      Address : 0000000000000660
+
+[054h 0084   4]                        Value : 00000001
+[058h 0088   4]                Register Mask : 000001FF
+
+[05Ch 0092   1]              Watchdog Action : 08
+[05Dh 0093   1]                  Instruction : 00
+[05Eh 0094   2]                     Reserved : 0000
+
+[060h 0096  12]              Register Region : [Generic Address Structure]
+[060h 0096   1]                     Space ID : 01 [SystemIO]
+[061h 0097   1]                    Bit Width : 10
+[062h 0098   1]                   Bit Offset : 00
+[063h 0099   1]         Encoded Access Width : 02 [Word Access:16]
+[064h 0100   8]                      Address : 0000000000000668
+
+[06Ch 0108   4]                        Value : 00000000
+[070h 0112   4]                Register Mask : 00000800
+
+[074h 0116   1]              Watchdog Action : 09
+[075h 0117   1]                  Instruction : 82
+[076h 0118   2]                     Reserved : 0000
+
+[078h 0120  12]              Register Region : [Generic Address Structure]
+[078h 0120   1]                     Space ID : 01 [SystemIO]
+[079h 0121   1]                    Bit Width : 10
+[07Ah 0122   1]                   Bit Offset : 00
+[07Bh 0123   1]         Encoded Access Width : 02 [Word Access:16]
+[07Ch 0124   8]                      Address : 0000000000000668
+
+[084h 0132   4]                        Value : 00000000
+[088h 0136   4]                Register Mask : 00000800
+
+[08Ch 0140   1]              Watchdog Action : 0A
+[08Dh 0141   1]                  Instruction : 00
+[08Eh 0142   2]                     Reserved : 0000
+
+[090h 0144  12]              Register Region : [Generic Address Structure]
+[090h 0144   1]                     Space ID : 01 [SystemIO]
+[091h 0145   1]                    Bit Width : 10
+[092h 0146   1]                   Bit Offset : 00
+[093h 0147   1]         Encoded Access Width : 02 [Word Access:16]
+[094h 0148   8]                      Address : 0000000000000668
+
+[09Ch 0156   4]                        Value : 00000800
+[0A0h 0160   4]                Register Mask : 00000800
+
+[0A4h 0164   1]              Watchdog Action : 0B
+[0A5h 0165   1]                  Instruction : 82
+[0A6h 0166   2]                     Reserved : 0000
+
+[0A8h 0168  12]              Register Region : [Generic Address Structure]
+[0A8h 0168   1]                     Space ID : 01 [SystemIO]
+[0A9h 0169   1]                    Bit Width : 10
+[0AAh 0170   1]                   Bit Offset : 00
+[0ABh 0171   1]         Encoded Access Width : 02 [Word Access:16]
+[0ACh 0172   8]                      Address : 0000000000000668
+
+[0B4h 0180   4]                        Value : 00000800
+[0B8h 0184   4]                Register Mask : 00000800
+
+[0BCh 0188   1]              Watchdog Action : 06
+[0BDh 0189   1]                  Instruction : 03
+[0BEh 0190   2]                     Reserved : 0000
+
+[0C0h 0192  12]              Register Region : [Generic Address Structure]
+[0C0h 0192   1]                     Space ID : 01 [SystemIO]
+[0C1h 0193   1]                    Bit Width : 10
+[0C2h 0194   1]                   Bit Offset : 00
+[0C3h 0195   1]         Encoded Access Width : 02 [Word Access:16]
+[0C4h 0196   8]                      Address : 0000000000000672
+
+[0CCh 0204   4]                        Value : 00000000
+[0D0h 0208   4]                Register Mask : 000003FF
+
+[0D4h 0212   1]              Watchdog Action : 05
+[0D5h 0213   1]                  Instruction : 01
+[0D6h 0214   2]                     Reserved : 0000
+
+[0D8h 0216  12]              Register Region : [Generic Address Structure]
+[0D8h 0216   1]                     Space ID : 01 [SystemIO]
+[0D9h 0217   1]                    Bit Width : 10
+[0DAh 0218   1]                   Bit Offset : 00
+[0DBh 0219   1]         Encoded Access Width : 02 [Word Access:16]
+[0DCh 0220   8]                      Address : 0000000000000672
+
+[0E4h 0228   4]                        Value : 00000000
+[0E8h 0232   4]                Register Mask : 000003FF
+
+[0ECh 0236   1]              Watchdog Action : 20
+[0EDh 0237   1]                  Instruction : 00
+[0EEh 0238   2]                     Reserved : 0000
+
+[0F0h 0240  12]              Register Region : [Generic Address Structure]
+[0F0h 0240   1]                     Space ID : 01 [SystemIO]
+[0F1h 0241   1]                    Bit Width : 10
+[0F2h 0242   1]                   Bit Offset : 00
+[0F3h 0243   1]         Encoded Access Width : 02 [Word Access:16]
+[0F4h 0244   8]                      Address : 0000000000000666
+
+[0FCh 0252   4]                        Value : 00000002
+[100h 0256   4]                Register Mask : 00000002
+
+[104h 0260   1]              Watchdog Action : 21
+[105h 0261   1]                  Instruction : 82
+[106h 0262   2]                     Reserved : 0000
+
+[108h 0264  12]              Register Region : [Generic Address Structure]
+[108h 0264   1]                     Space ID : 01 [SystemIO]
+[109h 0265   1]                    Bit Width : 10
+[10Ah 0266   1]                   Bit Offset : 00
+[10Bh 0267   1]         Encoded Access Width : 02 [Word Access:16]
+[10Ch 0268   8]                      Address : 0000000000000666
+
+[114h 0276   4]                        Value : 00000002
+[118h 0280   4]                Register Mask : 00000002
+
+[11Ch 0284   1]              Watchdog Action : 21
+[11Dh 0285   1]                  Instruction : 82
+[11Eh 0286   2]                     Reserved : 0000
+
+[120h 0288  12]              Register Region : [Generic Address Structure]
+[120h 0288   1]                     Space ID : 01 [SystemIO]
+[121h 0289   1]                    Bit Width : 10
+[122h 0290   1]                   Bit Offset : 00
+[123h 0291   1]         Encoded Access Width : 02 [Word Access:16]
+[124h 0292   8]                      Address : 0000000000000666
+
+[12Ch 0300   4]                        Value : 00000004
+[130h 0304   4]                Register Mask : 00000004

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 tests/qtest/bios-tables-test-allowed-diff.h |   1 -
 tests/data/acpi/x86/q35/WDAT.wdat           | Bin 0 -> 308 bytes
 2 files changed, 1 deletion(-)
 create mode 100644 tests/data/acpi/x86/q35/WDAT.wdat

diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
index 14b680debe..dfb8523c8b 100644
--- a/tests/qtest/bios-tables-test-allowed-diff.h
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
@@ -1,2 +1 @@
 /* List of comma-separated changed AML files to ignore */
-"tests/data/acpi/x86/q35/WDAT.wdat",
diff --git a/tests/data/acpi/x86/q35/WDAT.wdat b/tests/data/acpi/x86/q35/WDAT.wdat
new file mode 100644
index 0000000000000000000000000000000000000000..e1e056b390e51c49f11f7b0d35e4e7c55d8067b1
GIT binary patch
literal 308
zcmWG{aSSnGWME)4bn<uh2v%^42yj*a0-z8Bhz+6@fcQVd|NsAibOaNS&CI~S0%SJ=
zF&7Xs0>u~w7?={+fE*AXi2nl#4iFnCo&gmH$$<npo3M+6%|ccWG60CV(bYr6*?{f<
mnO}rtKFDpXK)bPtD*%lHiKju;1D(wP!irGy35kRJ48j00EEfR)

literal 0
HcmV?d00001

-- 
2.47.3