ipmi watchdog : add panic_wdt_timeout parameter
authorJean-Yves Faye <jean-yves.faye@c-s.fr>
Tue, 29 Sep 2015 09:39:19 +0000 (11:39 +0200)
committerCorey Minyard <cminyard@mvista.com>
Mon, 16 Nov 2015 12:28:43 +0000 (06:28 -0600)
commitc7f42c63901b964833eb23a9bda873b799e7f308
tree6ceaa67dae7e317c83c2b4434c9c75bc68d1e55f
parent66f44018300c5e6f53c9d30d6920332cf0e6a8f9
ipmi watchdog : add panic_wdt_timeout parameter

In order to allow panic actions to be processed, the ipmi watchdog
driver sets a new timeout value on panic. The 255s timeout
was designed to allow kdump and others actions on panic, as in
http://lkml.iu.edu/hypermail/linux/kernel/0711.3/0258.html

This is counter-intuitive for a end-user who sets watchdog timeout
value to something like 30s and who expects BMC to reset the system
within 30s of a panic.

This commit allows user to configure the timeout on panic.

Signed-off-by: Jean-Yves Faye <jean-yves.faye@c-s.fr>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Documentation/IPMI.txt
drivers/char/ipmi/ipmi_watchdog.c