qemu/hw/watchdog
Peter Maydell 88c756bc9e hw/watchdog/sbsa_gwdt: Make watchdog timer frequency a QOM property
Currently the sbsa_gdwt watchdog device hardcodes its frequency at
62.5MHz. In real hardware, this watchdog is supposed to be driven
from the system counter, which also drives the CPU generic timers.
Newer CPU types (in particular from Armv8.6) should have a CPU
generic timer frequency of 1GHz, so we can't leave the watchdog
on the old QEMU default of 62.5GHz.

Make the frequency a QOM property so it can be set by the board,
and have our only board that uses this device set that frequency
to the same value it sets the CPU frequency.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240426122913.3427983-4-peter.maydell@linaro.org
2024-04-30 15:14:15 +01:00
..
allwinner-wdt.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00
cmsdk-apb-watchdog.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11: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 hw/watchdog/sbsa_gwdt: Make watchdog timer frequency a QOM property 2024-04-30 15:14:15 +01:00
spapr_watchdog.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11: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 hw/watchdog: add trace events for watchdog action handling 2022-12-21 06:35:28 -05:00
wdt_aspeed.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00
wdt_diag288.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00
wdt_i6300esb.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00
wdt_ib700.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00
wdt_imx2.c hw/watchdog: Constify VMState 2023-12-30 07:38:06 +11:00