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