qemu-cr16/hw/isa
Igor Mammedov b10166b104 x86: ich9: fix default value of 'No Reboot' bit in GCS
[2] initialized 'No Reboot' bit to 1 by default. And due to quirk it happened
to work with linux iTCO_wdt driver (which clears it on module load).

However spec [1] states:
"
R/W. This bit is set when the “No Reboot” strap (SPKR pin on
ICH9) is sampled high on PWROK.
"

So it should be set only when  '-global ICH9-LPC.noreboot=true' and cleared
when it's false (which should be default).

Fix it to behave according to spec and set 'No Reboot' bit only when
'-global ICH9-LPC.noreboot=true'.

1)
Intel I/O Controller Hub 9 (ICH9) Family Datasheet (rev: 004)
2)

Fixes: 920557971b (ich9: add TCO interface emulation)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20250922132600.562193-1-imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2025-10-05 09:01:08 -04:00
..
apm.c hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
fdc37m81x-superio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
i82378.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
isa-bus.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
isa-superio.c hw/isa/superio: Include 'system/system.h' 2025-09-02 17:58:05 +02:00
Kconfig hw/isa: extract FDC37M81X to a separate file 2024-02-15 16:58:46 +01:00
lpc_ich9.c x86: ich9: fix default value of 'No Reboot' bit in GCS 2025-10-05 09:01:08 -04:00
meson.build hw/isa/meson.build: Sort alphabetically 2024-02-22 12:47:40 +01:00
pc87312.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
piix.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
smc37c669-superio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/audio/via-ac97: Basic implementation of audio playback 2023-03-08 00:37:48 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vt82c686.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00