Skip to content

Commit 27fdf84

Browse files
liuxp11Wim Van Sebroeck
authored andcommitted
watchdog: wdat_wdt: Stop watchdog when rebooting the system
Executing reboot command several times on the machine "Dell PowerEdge R740", UEFI security detection stopped machine with the following prompt: UEFI0082: The system was reset due to a timeout from the watchdog timer. Check the System Event Log (SEL) or crash dumps from Operating Sysstem to identify the source that triggered the watchdog timer reset. Update the firmware or driver for the identified device. iDRAC has warning event: "The watchdog timer reset the system". This patch fixes this issue by adding the reboot notifier. Signed-off-by: Liu Xinpeng <liuxp11@chinatelecom.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/1650984810-6247-3-git-send-email-liuxp11@chinatelecom.cn Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent 6d72c7a commit 27fdf84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/wdat_wdt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ static int wdat_wdt_probe(struct platform_device *pdev)
462462
return ret;
463463

464464
watchdog_set_nowayout(&wdat->wdd, nowayout);
465+
watchdog_stop_on_reboot(&wdat->wdd);
465466
return devm_watchdog_register_device(dev, &wdat->wdd);
466467
}
467468

0 commit comments

Comments
 (0)