Skip to content

watchdog: Provide user control over WDOG_STOP_ON_REBOOT

Dmitry Safonov linux-watchdog lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Changes since RFC from the cover letter

o rebase over v5.6
o fixed return code for ioctl()

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2watchdog: Check WDOG_STOP_ON_REBOOT in reboot notifierdrivers/watchdog/watchdog_core.c+13 -142 replies
2/2watchdog/uapi: Add WDIOS_{RUN,STOP}_ON_REBOOTdrivers/watchdog/watchdog_dev.c include/linux/watchdog.h include/uapi/linux/watchdog.h+20 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] watchdog: Provide user control over WDOG_STOP_ON_REBOOT

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

Changes since RFC:
o rebase over v5.6
o fixed return code for ioctl()

I've sent RFC a while ago and it probably was very late in release cycle to catch any attention:
https://lkml.kernel.org/r/[email protected]

While waiting for rc1, I've changed my mind that it's RFC material and sending it as PATCHv1 instead.

Cc Guenter Roeck <[email protected]>
Cc Wim Van Sebroeck <[email protected]>

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

 drivers/watchdog/watchdog_core.c | 27 +++++++++++++--------------
 drivers/watchdog/watchdog_dev.c  | 12 ++++++++++++
 include/linux/watchdog.h         |  6 ++++++
 include/uapi/linux/watchdog.h    |  3 ++-
 4 files changed, 33 insertions(+), 15 deletions(-)
Signature · 1 line
2.25.0