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)
commit36a8947c6b5423b2fb867a7af87ae40eb12f4123
treeb0313ac4421e77894a03064f02d779d2ac5d6e6d
parentf1889c9066722f56428978ce9431a6cacabecb57
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