qemu-cr16/hw/watchdog
ShengYi Hung 5240186e82 wdt_i6300esb: fix incorrect mask for interrupt type
According to Intel 6300ESB Controller Hub Datasheet 14.4.15, the interrupt
type mask should be 0x03 (0b11) instead of 0x11. In the original
implementation, when we want to disable all interrupt by setting the
value to 0x03, we will get 0x01 which is incorrect when we want to read
the value again. However, there is no problem when considering the correct
behavior since 0x01 is reserved and unused just like 0x03. This patch is
just a fix to return the register value.

Signed-off-by: ShengYi Hung <aokblast@FreeBSD.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-10-05 09:46:06 +03:00
..
allwinner-wdt.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
cmsdk-apb-watchdog.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
Kconfig hw/watchdog: Allwinner WDT emulation for system reset 2023-04-20 10:21:13 +01:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
sbsa_gwdt.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
spapr_watchdog.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/watchdog/wdt_imx2: Trace timer activity 2023-11-02 13:36:45 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
watchdog.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
wdt_aspeed.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
wdt_diag288.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
wdt_i6300esb.c wdt_i6300esb: fix incorrect mask for interrupt type 2025-10-05 09:46:06 +03:00
wdt_ib700.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
wdt_imx2.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00