]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: softdog: Add options 'soft_reboot_cmd' and 'soft_active_on_boot'
authorWoody Lin <woodylin@google.com>
Wed, 8 Jul 2020 08:32:19 +0000 (16:32 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 5 Aug 2020 16:43:02 +0000 (18:43 +0200)
commit6d4daa493a42136a540bbf589794d3fd32bf514e
treeb0313ac4421e77894a03064f02d779d2ac5d6e6d
parent74eaaac86a53e458f495dcf438f11e4ab7357863
watchdog: softdog: Add options 'soft_reboot_cmd' and 'soft_active_on_boot'

Add module parameters 'soft_reboot_cmd' and 'soft_active_on_boot' for
customizing softdog configuration; config reboot command by assigning
soft_reboot_cmd, and set soft_active_on_boot to start up softdog
timer at module initialization stage.

Signed-off-by: Woody Lin <woodylin@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200708083218.3157213-1-woodylin@google.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/softdog.c