xemu/hw/watchdog
Alexey Kardashevskiy 81b205cecf ppc/spapr: Implement H_WATCHDOG
The new PAPR 2.12 defines a watchdog facility managed via the new
H_WATCHDOG hypercall.

This adds H_WATCHDOG support which a proposed driver for pseries uses:
https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=303120

This was tested by running QEMU with a debug kernel and command line:
-append \
 "pseries-wdt.timeout=60 pseries-wdt.nowayout=1 pseries-wdt.action=2"

and running "echo V > /dev/watchdog0" inside the VM.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220622051008.1067464-1-aik@ozlabs.ru>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2022-07-06 10:22:38 -03:00
..
cmsdk-apb-watchdog.c clock: Add ClockEvent parameter to callbacks 2021-03-08 17:20:01 +00:00
Kconfig hw/watchdog: Implement SBSA watchdog device 2020-10-27 11:10:44 +00:00
meson.build ppc/spapr: Implement H_WATCHDOG 2022-07-06 10:22:38 -03:00
sbsa_gwdt.c watchdog: add information from -watchdog help to -device help 2021-11-02 15:57:27 +01:00
spapr_watchdog.c ppc/spapr: Implement H_WATCHDOG 2022-07-06 10:22:38 -03:00
trace-events ppc/spapr: Implement H_WATCHDOG 2022-07-06 10:22:38 -03:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
watchdog.c watchdog: remove select_watchdog_action 2021-11-02 15:57:27 +01:00
wdt_aspeed.c aspeed/wdt: Add AST1030 support 2022-05-02 17:03:03 +02:00
wdt_diag288.c watchdog: add information from -watchdog help to -device help 2021-11-02 15:57:27 +01:00
wdt_i6300esb.c watchdog: add information from -watchdog help to -device help 2021-11-02 15:57:27 +01:00
wdt_ib700.c watchdog: add information from -watchdog help to -device help 2021-11-02 15:57:27 +01:00
wdt_imx2.c watchdog: add information from -watchdog help to -device help 2021-11-02 15:57:27 +01:00