x86: q35: add support for WDAT watchdog
cover x86: q35: add support for WDAT watchdog
Windows doesn't ship built-in TCO watchdog driver, and users are forced to install vendor specific driver(s) if such exists. However OS provides a generic watchdog driver that uses ACPI WDAT table [1] to abstract actual hardware behind it.
This series adds an optional WDAT table tailored for TCO watchdog that Q35 already has as part of ICH9 chipset and a knob to enable it. Guest OS support is present since Windows Vista and Linux since 2016[2].
One can test it launching VM with following options:
-watchdog-action reset -global ICH9-LPC.wdat=on
to trace access to TCO registers one can also add to CLI:
-trace "tco_*"
To verify that guest uses WDAT (both Windows and Linux would use it if present),
* on linux make sure that watchdog service is configured/running and then trigger kernel panic with command:
echo c > /proc/sysrq-trigger
* on Windows kill svchost process, running shell in admin mode:
taskkill /f /im svchost.exe
Tested with WS2025 & RHEL9.6
git tree at: https://gitlab.com/imammedo/qemu/-/commits/wadt_q35_v1
1) http://msdn.microsoft.com/en-us/windows/hardware/gg463320.aspx
2) https://lwn.net/Articles/700524/
PS:
ARM version of this is still work in progress, and probably should be ready by the next merge window. So I'm sending only x86 part of WDAT enablement.
Igor Mammedov (5):
x86: q35: ich9: add 'wdat' property
acpi: add API to build WDAT instructions
x86: q35: generate WDAT ACPI table
tests: x86: q35: acpi: add WDAT table test case
tests: acpi: update expected WDAT blob
include/hw/acpi/ich9.h | 1 + include/hw/acpi/wdat.h | 121 ++++++++++++++++++++++++++++++ hw/acpi/aml-build.c | 14 ++++ hw/acpi/ich9.c | 5 ++ hw/acpi/meson.build | 3 +- hw/acpi/wdat-ich9.c | 85 +++++++++++++++++++++ hw/acpi/wdat-stub.c | 16 ++++ hw/i386/acpi-build.c | 13 ++++ hw/isa/lpc_ich9.c | 1 + tests/data/acpi/x86/q35/WDAT.wdat | Bin 0 -> 308 bytes tests/qtest/bios-tables-test.c | 13 ++++ 11 files changed, 271 insertions(+), 1 deletion(-) create mode 100644 include/hw/acpi/wdat.h create mode 100644 hw/acpi/wdat-ich9.c create mode 100644 hw/acpi/wdat-stub.c create mode 100644 tests/data/acpi/x86/q35/WDAT.wdat
Signature · 1 line
2.47.3
PATCH 1/5 x86: q35: ich9: add 'wdat' property
it will be used to make QEMU generate WDAT ACPI table, that describes TCO watchdog in platfom independed way and allows guest to use generic 'wdat' driver. To enable it use '-global ICH9-LPC.wdat=on' option.
PS:
On linux wdat driver takes ove TCO watchdog if WDAT table is present, hence 'wdat=off' by default to avoid guest visible change on existing VMs.
--- include/hw/acpi/ich9.h | 1 + hw/acpi/ich9.c | 5 +++++ hw/isa/lpc_ich9.c | 1 + 3 files changed, 7 insertions(+)
include/hw/acpi/ich9.h +1 -0
@@ -69,6 +69,7 @@ typedef struct ICH9LPCPMRegs {bool smm_compat;bool enable_tco;TCOIORegs tco_regs; +bool enable_wdat;bool swsmi_timer_enabled;bool periodic_timer_enabled;
hw/acpi/ich9.c +5 -0
@@ -321,6 +321,11 @@ void ich9_pm_init(PCIDevice *lpc_pci, ICH9LPCPMRegs *pm, qemu_irq sci_irq)acpi_pm_tco_init (&pm->tco_regs, &pm->io); } +if (pm->enable_wdat && !pm->enable_tco) { +error_setg (&error_fatal, +"'wdat' can not be enabled without 'enable_tco=on'" ); + } +if (pm->acpi_pci_hotplug.use_acpi_hotplug_bridge) {object_property_set_link (OBJECT (lpc_pci),"bus" ,OBJECT (pci_get_bus (lpc_pci)), &error_abort);
hw/isa/lpc_ich9.c +1 -0
@@ -832,6 +832,7 @@ static const VMStateDescription vmstate_ich9_lpc = {static const Property ich9_lpc_properties[] = {DEFINE_PROP_BOOL ("noreboot" , ICH9LPCState, pin_strap.spkr_hi, false), +DEFINE_PROP_BOOL ("wdat" , ICH9LPCState, pm.enable_wdat, false),DEFINE_PROP_BOOL ("smm-compat" , ICH9LPCState, pm.smm_compat, false),DEFINE_PROP_BOOL ("smm-enabled" , ICH9LPCState, pm.smm_enabled, false), DEFINE_PROP_BIT64("x-smi-broadcast", ICH9LPCState, smi_host_features,
Signature · 1 line
2.47.3
PATCH 2/5 acpi: add API to build WDAT instructions
In reply to Igor MammedovAdd definitions for WDAT[1] actions/instructions and build_append_wdat_ins() API to build table entries.
1)
"Hardware Watchdog Timers Design Specification"
https://uefi.org/acpi 'Watchdog Action Table (WDAT)'
--- include/hw/acpi/wdat.h | 118 +++++++++++++++++++++++++++++++++++++++++ hw/acpi/aml-build.c | 14 +++++ 2 files changed, 132 insertions(+) create mode 100644 include/hw/acpi/wdat.h
include/hw/acpi/wdat.h new file +118 -0
@@ -0,0 +1,118 @@ +/* +* Watchdog Action Table (WDAT) definitions +* +* Copyright Red Hat, Inc. 2025 +* Author(s): Igor Mammedov <[email protected]> +* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ +#ifndef QEMU_HW_ACPI_WDAT_H +#define QEMU_HW_ACPI_WDAT_H + +#include "hw/acpi/acpi-defs.h" + +/* +* Watchdog actions as described in +* "Hardware Watchdog Timers Design Specification" +* for link to spec see https://uefi.org/acpi +* 'Watchdog Action Table (WDAT)' +*/ +typedef enum { +/* +* Restarts the watchdog timer's countdown. This action is +* required. +*/ +WDAT_ACTION_RESET =0x1 , +/* +* Returns the current countdown value of the watchdog hardware +* (in count intervals). +*/ +WDAT_ACTION_QUERY_CURRENT_COUNTDOWN_PERIOD =0x4 , +/* +* Returns the countdown value the watchdog hardware is +* configured to use when reset (in count intervals). +*/ +WDAT_ACTION_QUERY_COUNTDOWN_PERIOD =0x5 , +/* +* Sets the countdown value (in count intervals) to be used when +* the watchdog timer is reset. This action is required if +* WDAT_ACTION_RESET does not explicitly write a new +* countdown value to a register during a reset. Otherwise, this +* action is optional. +*/ +WDAT_ACTION_SET_COUNTDOWN_PERIOD =0x6 , +/* +* Determines if the watchdog hardware is currently in enabled/ +* running state. The same result must occur when performed from +* both from enabled/stopped state and enabled/running state. If +* the watchdog hardware is disabled, results are indeterminate. +* This action is required. +*/ +WDAT_ACTION_QUERY_RUNNING_STATE =0x8 , +/* +* Starts the watchdog, if not already in running state. If the +* watchdog hardware is disabled, results are indeterminate. +* This action is required. +*/ +WDAT_ACTION_SET_RUNNING_STATE =0x9 , +/* +* Determines if the watchdog hardware is currently in enabled/ +* stopped state. The same result must occur when performed from +* both the enabled/stopped state and enabled/running state. If +* the watchdog hardware is disabled, results are indeterminate. +* This action is required. +*/ +WDAT_ACTION_QUERY_STOPPED_STATE =0xA , +/* +* Stops the watchdog, if not already in stopped state. If the +* watchdog hardware is disabled, results are indeterminate. +* This action is required. +*/ +WDAT_ACTION_SET_STOPPED_STATE =0xB , +/* +* Determines if the watchdog hardware is configured to perform a +* reboot when the watchdog is fired. +*/ +WDAT_ACTION_QUERY_REBOOT =0x10 , +/* +* Configures the watchdog hardware to perform a reboot when it +* is fired. +*/ +WDAT_ACTION_SET_REBOOT =0x11 , +/* +* Determines if the watchdog hardware is configured to perform a +* system shutdown when fired. +*/ +WDAT_ACTION_QUERY_SHUTDOWN =0x12 , +/* +* Configures the watchdog hardware to perform a system shutdown +* when fired. +*/ +WDAT_ACTION_SET_SHUTDOWN =0x13 , +/* +* Determines if the current boot was caused by the watchdog +* firing. The boot status is required to be set if the watchdog +* fired and caused a reboot. It is recommended that the +* Watchdog Status be set if the watchdog fired and caused a +* shutdown. This action is required. +*/ +WDAT_ACTION_QUERY_WATCHDOG_STATUS =0x20 , +/* +* Sets the watchdog's boot status to the default value. This +* action is required. +*/ +WDAT_ACTION_SET_WATCHDOG_STATUS =0x21 , +}WDATAction ; + +#define WDAT_INS_READ_VALUE 0x0 +#define WDAT_INS_READ_COUNTDOWN 0x1 +#define WDAT_INS_WRITE_VALUE 0x2 +#define WDAT_INS_WRITE_COUNTDOWN 0x3 +#define WDAT_INS_PRESERVE_REGISTER 0x80 + +void build_append_wdat_ins (GArray *table_data, +WDATAction action,uint8_t flags, +struct AcpiGenericAddress as, +uint32_t val,uint32_t mask); + +#endif /* QEMU_HW_ACPI_WDAT_H */
hw/acpi/aml-build.c +14 -0
@@ -31,6 +31,7 @@#include "hw/pci/pci_bus.h" #include "hw/pci/pci_bridge.h" #include "qemu/cutils.h" +#include "hw/acpi/wdat.h" static GArray *build_alloc_array (void ) {
@@ -2639,3 +2640,16 @@ Aml *aml_error_device(void)return dev; } + +void build_append_wdat_ins (GArray *table_data, +WDATAction action,uint8_t flags, +struct AcpiGenericAddress as, +uint32_t val,uint32_t mask) +{ +build_append_int_noprefix (table_data, action,1 );/* Watchdog Action */ +build_append_int_noprefix (table_data, flags,1 );/* Instruction Flags */ +build_append_int_noprefix (table_data,0 ,2 );/* Reserved */ +build_append_gas_from_struct (table_data, &as);/* Register Region */ +build_append_int_noprefix (table_data, val,4 );/* Value */ +build_append_int_noprefix (table_data, mask,4 );/* Mask */ +}
Signature · 1 line
2.47.3
PATCH 3/5 x86: q35: generate WDAT ACPI table
In reply to Igor MammedovIt will generate WDAT table [1] customized for TCO watchdog. This allows Windows guests (Windows Server 2008/Vista) to use TCO watchdog using built-in generic driver, which aleviates need to install vendor specific drivers.
Given that enabling it might change guest behaviour (both Windows/Linux) the feature is disabled by default.
Users that need it can enable the feature with
following CLI option.
-global 'ICH9-LPC.wdat=on'
1)
"Hardware Watchdog Timers Design Specification"
https://uefi.org/acpi 'Watchdog Action Table (WDAT)'
--- include/hw/acpi/wdat.h | 3 ++ hw/acpi/meson.build | 3 +- hw/acpi/wdat-ich9.c | 85 ++++++++++++++++++++++++++++++++++++++++++ hw/acpi/wdat-stub.c | 16 ++++++++ hw/i386/acpi-build.c | 13 +++++++ 5 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 hw/acpi/wdat-ich9.c create mode 100644 hw/acpi/wdat-stub.c
include/hw/acpi/wdat.h +3 -0
@@ -115,4 +115,7 @@ void build_append_wdat_ins(GArray *table_data,struct AcpiGenericAddress as, uint32_t val, uint32_t mask); +void build_wdat (GArray *table_data,BIOSLinker *linker,const char *oem_id, +const char *oem_table_id,uint64_t tco_base); +#endif /* QEMU_HW_ACPI_WDAT_H */
hw/acpi/meson.build +2 -1
@@ -24,7 +24,7 @@ acpi_ss.add(when: 'CONFIG_ACPI_PCI_BRIDGE', if_true: files('pci-bridge.c')) acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_true: files('pcihp.c')) acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_false: files('acpi-pci-hotplug-stub.c')) acpi_ss.add(when: 'CONFIG_ACPI_VIOT', if_true: files('viot.c')) -acpi_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('ich9.c', 'ich9_tco.c', 'ich9_timer.c')) +acpi_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('ich9.c', 'ich9_tco.c', 'ich9_timer.c', 'wdat-ich9.c')) acpi_ss.add(when: 'CONFIG_ACPI_ERST', if_true: files('erst.c')) acpi_ss.add(when: 'CONFIG_IPMI', if_true: files('ipmi.c'), if_false: files('ipmi-stub.c')) acpi_ss.add(when: 'CONFIG_PC', if_false: files('acpi-x86-stub.c'))
@@ -33,6 +33,7 @@ if have_tpm endif system_ss.add(when: 'CONFIG_ACPI', if_false: files('acpi-stub.c', 'aml-build-stub.c', 'ghes-stub.c', 'acpi_interface.c')) system_ss.add(when: 'CONFIG_ACPI_PCI_BRIDGE', if_false: files('pci-bridge-stub.c')) +system_ss.add(when: 'CONFIG_ACPI_ICH9', if_false: files('wdat-stub.c')) system_ss.add_all(when: 'CONFIG_ACPI', if_true: acpi_ss) system_ss.add(when: 'CONFIG_GHES_CPER', if_true: files('ghes_cper.c')) system_ss.add(when: 'CONFIG_GHES_CPER', if_false: files('ghes_cper_stub.c'))
hw/acpi/wdat-ich9.c new file +85 -0
85 lines not on this page · raw message
hw/acpi/wdat-stub.c new file +16 -0
@@ -0,0 +1,16 @@ +/* +* Copyright Red Hat, Inc. 2025 +* Author(s): Igor Mammedov <[email protected]> +* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + +#include "qemu/osdep.h" +#include "hw/acpi/aml-build.h" +#include "hw/acpi/wdat.h" + +void build_wdat (GArray *table_data,BIOSLinker *linker,const char *oem_id, +const char *oem_table_id,uint64_t tco_base) +{ +g_assert_not_reached (); +}
hw/i386/acpi-build.c +13 -0
@@ -77,6 +77,7 @@#include "hw/acpi/hmat.h" #include "hw/acpi/viot.h" +#include "hw/acpi/wdat.h" #include CONFIG_DEVICES
@@ -104,11 +105,13 @@ typedef struct AcpiPmInfo {bool smi_on_cpuhp;bool smi_on_cpu_unplug;bool pcihp_root_en; +bool wdat_enabled;uint8_t s4_val;AcpiFadtData fadt;uint16_t cpu_hp_io_base;uint16_t pcihp_io_base;uint16_t pcihp_io_len; +uint64_t tco_io_base; } AcpiPmInfo; typedef struct AcpiMiscInfo {
@@ -203,6 +206,7 @@ static void acpi_get_pm_info(MachineState *machine, AcpiPmInfo *pm) pm->pcihp_io_len =0 ; pm->smi_on_cpuhp = false; pm->smi_on_cpu_unplug = false; + pm->wdat_enabled = false;assert (obj);init_common_fadt_data (machine, obj, &pm->fadt);
@@ -224,6 +228,9 @@ static void acpi_get_pm_info(MachineState *machine, AcpiPmInfo *pm) !!(smi_features &BIT_ULL (ICH9_LPC_SMI_F_CPU_HOTPLUG_BIT )); pm->smi_on_cpu_unplug = !!(smi_features &BIT_ULL (ICH9_LPC_SMI_F_CPU_HOT_UNPLUG_BIT )); + pm->wdat_enabled =object_property_get_bool (obj,"wdat" ,NULL ); + pm->tco_io_base =object_property_get_uint (obj,ACPI_PM_PROP_PM_IO_BASE , +NULL ) +ICH9_PMIO_TCO_RLD ; } pm->pcihp_io_base =object_property_get_uint (obj,ACPI_PCIHP_IO_BASE_PROP ,NULL );
@@ -2079,6 +2086,12 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)acpi_add_table (table_offsets, tables_blob);build_waet (tables_blob, tables->linker, x86ms->oem_id, x86ms->oem_table_id); +if (pm.wdat_enabled == true) { +acpi_add_table (table_offsets, tables_blob); +build_wdat (tables_blob, tables->linker, x86ms->oem_id, + x86ms->oem_table_id, pm.tco_io_base); + } +/* Add tables supplied by user (if any) */ for (u =acpi_table_first (); u; u =acpi_table_next (u)) {unsigned len =acpi_table_len (u);
Signature · 1 line
2.47.3
PATCH 4/5 tests: x86: q35: acpi: add WDAT table test case
In reply to Igor Mammedov--- tests/qtest/bios-tables-test-allowed-diff.h | 1 + tests/qtest/bios-tables-test.c | 13 +++++++++++++ 2 files changed, 14 insertions(+)
tests/qtest/bios-tables-test-allowed-diff.h +1 -0
@@ -1 +1,2 @@/* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/x86/q35/WDAT.wdat",
tests/qtest/bios-tables-test.c +13 -0
@@ -2510,6 +2510,18 @@ static void test_acpi_isapc_smbios_legacy(void)free_test_data (&data); } +static void test_acpi_q35_wdat (void ) +{ +test_data data = { + .machine =MACHINE_Q35 , + .arch ="x86" , + .variant =".wdat" , + }; + +test_acpi_one ("-global ICH9-LPC.wdat=on" , &data); +free_test_data (&data); +} +static void test_oem_fields (test_data *data) {int i;
@@ -2804,6 +2816,7 @@ int main(int argc, char *argv[])qtest_add_func ("acpi/q35/cxl" , test_acpi_q35_cxl);#endif qtest_add_func ("acpi/q35/slic" , test_acpi_q35_slic); +qtest_add_func ("acpi/q35/wdat" , test_acpi_q35_wdat); }if (qtest_has_machine ("microvm" )) {qtest_add_func ("acpi/microvm" , test_acpi_microvm_tcg);
Signature · 1 line
2.47.3
PATCH 5/5 tests: acpi: update expected WDAT blob
In reply to Igor Mammedovreplace 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
--- 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
tests/qtest/bios-tables-test-allowed-diff.h +0 -1
@@ -1,2 +1 @@/* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/x86/q35/WDAT.wdat",
tests/data/acpi/x86/q35/WDAT.wdat new file binary +0 -0
Signature · 1 line
2.47.3