]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3e44cba98eb62e3367f36d0167be37a0d800df9
tree3ed9062637e769ab8bd89748baf2b167244bbda8
parent47930feff9717e28601baf7929e7720bf33ffb4b
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