Linux Tegra architecture development
 help / color / mirror / Atom feed
From: David Cemin <dcemin@nvidia.com>
To: Guenter Roeck <linux@roeck-us.net>,
	Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-tegra@vger.kernel.org
Subject: Re: [PATCH] watchdog: sbsa_gwdt: stop the watchdog across the whole system-sleep transition
Date: Tue, 13 Oct 2026 18:26:36 -0700	[thread overview]
Message-ID: <20261014012635.2360555-2-dcemin@nvidia.com> (raw)
In-Reply-To: <b17e7387-0de1-4b41-8955-6f66965a1126@roeck-us.net>

On Wed, Sep 16, 2026 at 05:18:34PM -0700, Guenter Roeck wrote:
> After thinking about it, I concluded that this is the wrong solution.
> First of all, it is a solution in search of a problem: Simply increasing
> the watchdog timeout to be safe would solve it.

Agreed, and sorry for the long silence. Please consider this patch
withdrawn. The resets described in the commit message are handled on
our side by running the watchdog with a timeout that covers the suspend
path, as you suggested, and the watchdog now stays armed throughout.

While doing that we found a second, unrelated problem on the same
platform that I want to mention because it touches the same driver.
sbsa_gwdt never calls watchdog_stop_ping_on_suspend(), so the keepalive
hrtimer of the core can still be armed when the system enters suspend.
On this platform that pending timer wakes the SoC a few seconds after
it enters suspend. Calling watchdog_stop_ping_on_suspend() from probe
removed the spurious wakeups over repeated suspend/resume cycles on two
boards. I will send that as a separate one-line patch. Your core series
from 9/29 (3/8 in particular, the _WDOG_SUSPENDED gate) closes the
remaining race in that path, so the two go together.

Thanks,
David

      reply	other threads:[~2026-10-14  1:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-12 18:21 [PATCH] watchdog: sbsa_gwdt: stop the watchdog across the whole system-sleep transition David Cemin
2026-09-13  4:17 ` Guenter Roeck
2026-09-17  0:18 ` Guenter Roeck
2026-10-14  1:26   ` David Cemin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261014012635.2360555-2-dcemin@nvidia.com \
    --to=dcemin@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox