ipmi_watchdog: restore settings when BMC reset
authorCorey Minyard <cminyard@mvista.com>
Tue, 20 Dec 2011 01:12:02 +0000 (17:12 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Dec 2011 18:25:04 +0000 (10:25 -0800)
commitb75d91f7ca513f0a4d0d1ad0942fb90cf5a2bc88
tree3ed9062637e769ab8bd89748baf2b167244bbda8
parentff05b6f7ae762b6eb464183eec994b28ea09f6dd
ipmi_watchdog: restore settings when BMC reset

If the BMC gets reset, it will return 0x80 response errors.

In less than a week
# grep "Error 80 on cmd 22" /var/log/kernel |wc -l
378681

In this case, it is probably a good idea to restore the IPMI settings.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Arkadiusz Miśkiewicz <a.miskiewicz@gmail.com>
Reported-by: Arkadiusz Miśkiewicz <a.miskiewicz@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_watchdog.c