]> git.karo-electronics.de Git - linux-beck.git/commit
watchdog: mei_wdt: request stop on reboot to prevent false positive event
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 8 Nov 2016 15:55:52 +0000 (17:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2017 09:40:16 +0000 (10:40 +0100)
commit2eccf0e0bcb1b164b93d83b4578a1f39ace3fff6
tree7bf9476fafe01ab1611ea7aa21149b1c35a73e9e
parent36b08b819713e587fa43b94516302dd8732dd27a
watchdog: mei_wdt: request stop on reboot to prevent false positive event

commit 9eff1140a82db8c5520f76e51c21827b4af670b3 upstream.

Systemd on reboot enables shutdown watchdog that leaves the watchdog
device open to ensure that even if power down process get stuck the
platform reboots nonetheless.
The iamt_wdt is an alarm-only watchdog and can't reboot system, but the
FW will generate an alarm event reboot was completed in time, as the
watchdog is not automatically disabled during power cycle.
So we should request stop watchdog on reboot to eliminate wrong alarm
from the FW.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/mei_wdt.c