Thread (21 messages) 21 messages, 7 authors, 2025-03-06

Re: [PATCH v4 2/2] drivers: watchdog: Add support for panic notifier callback

From: Guenter Roeck <linux@roeck-us.net>
Date: 2025-03-06 00:00:53
Also in: chrome-platform, imx, linux-arm-kernel, linux-mips, linux-watchdog, lkml, openbmc

On 3/5/25 02:33, Andy Shevchenko wrote:
On Wed, Mar 05, 2025 at 10:10:25AM +0000, George Cherian wrote:
quoted
Watchdog is not turned off in kernel panic situation.
In certain systems this might prevent the successful loading
of kdump kernel. The kdump kernel might hit a watchdog reset
while it is booting.

To avoid such scenarios add a panic notifier call back function
which can stop the watchdog. This provision can be enabled by
passing watchdog.stop_on_panic=1 via kernel command-line parameter.
...

First of all, do we really need a new module parameter for that? Why can't it
be done automatically if kdump is expected?
Sounds like a good idea to me.

Guenter

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help