[RFC 0/2] watchdog: Provide user control over WDOG_STOP_ON_REBOOT

From: Dmitry Safonov
Date: Tue Jan 21 2020 - 11:21:55 EST


Add WDIOS_RUN_ON_REBOOT and WDIOS_STOP_ON_REBOOT to control the
watchdog's behavior over reboot.

Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Wim Van Sebroeck <wim@xxxxxxxxxxxxxxxxxx>
Cc: linux-watchdog@xxxxxxxxxxxxxxx

Dmitry Safonov (2):
watchdog: Check WDOG_STOP_ON_REBOOT in reboot notifier
watchdog/uapi: Add WDIOS_{RUN,STOP}_ON_REBOOT

drivers/watchdog/watchdog_dev.c | 29 ++++++++++++++++++++---------
include/linux/watchdog.h | 6 ++++++
include/uapi/linux/watchdog.h | 3 ++-
3 files changed, 28 insertions(+), 10 deletions(-)

--
2.25.0