Re: [PATCH] watchdog: octeon-wdt: Add a panic_on_timeout parameter
From: Guenter Roeck
Date: Mon Oct 26 2026 - 18:14:09 EST
On Sat, Oct 24, 2026 at 08:15:30AM +1300, Carl Smith wrote:
> The hardware watchdog period is only a few seconds, so the driver counts
> the heartbeat in software and stops poking the hardware when it expires.
> The resulting reset leaves no record for crash loggers such as mtdoops.
>
> Add a panic_on_timeout module parameter, off by default like softdog's
> soft_panic, that panics when the heartbeat expires. The panic is logged,
> and the hardware watchdog still resets the board.
>
> Tested on a CN7130 board with mtdoops.
>
> Signed-off-by: Carl Smith <carl.smith@xxxxxxxxxxxxxxxxxxx>
Applied.
Thanks,
Guenter