watchdog/hpwdt: Add module parameter kdumptimeout.
authorJerry Hoemann <jerry.hoemann@hpe.com>
Fri, 17 May 2019 20:59:41 +0000 (14:59 -0600)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 8 Jul 2019 14:10:09 +0000 (16:10 +0200)
commitbe3d7f7cb3ac2dd0b4dcb686d5a69519c35ef3a5
tree77f1c4ca915d779ff9ac90a3f9cc579b8c473d6e
parentbb721d6b9eed631eed5d22bb8dfbb0c0717a67aa
watchdog/hpwdt: Add module parameter kdumptimeout.

Instead of unconditionally stopping the watchdog timer after receipt of
a pretimeout NMI, reprogram the timeout based upon module parameter
kdumptimeout.

The provides a more flexible override than the depricated allow_kdump.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/hpwdt.c