Re: [PATCH v2 2/2] watchdog: orion_wdt: stop the watchdog during system suspend
From: Guenter Roeck
Date: Mon Oct 19 2026 - 21:34:42 EST
On Mon, Oct 12, 2026 at 03:46:57AM +0300, Igor Velkov wrote:
> From: Igor Velkov <iav@xxxxxx>
>
> The watchdog timer keeps counting across system suspend while the
> userspace that pings it is frozen, so it expires and resets the system.
> On a Kobol Helios4 (Armada 388) with a 60 s timeout the board resets
> 47-61 s into s2idle, whether the watchdog daemon or systemd's
> RuntimeWatchdogSec holds the device.
>
> Stop the timer on suspend and restart it on resume when it is active or
> running in hardware, as sp805_wdt does. orion_wdt_start() reloads the
> counter, so userspace gets a full timeout after resume.
>
> Assisted-by: LLM
> Signed-off-by: Igor Velkov <iav@xxxxxx>
Applied.
Thanks,
Guenter