From: Regis Dargent <regis.dargent@gmail.com>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>, Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
linux-watchdog@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH v3] watchdog: sunxi_wdt: Allow watchdog to remain enabled after probe
Date: Tue, 25 Feb 2025 15:36:37 +0100 [thread overview]
Message-ID: <20250225143638.1989755-1-regis.dargent@gmail.com> (raw)
Hi,
V3 of the patch allowing sunxi watchdog to remain enabled after probe.
This 3rd version is mainly about code cleanup.
Best regards,
Regis
Jernej Škrabec:
I wouldn't add checks on CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED here.
My understanding is that this config is already managed in the generic
watchdog part, as long as the WDOG_HW_RUNNING bit matches the actual
state of the HW watchdog timer.
I only saw one reference in a HW driver, stm32_iwdg, where they cannot
read the watchdog state, so they start it and set the WDOG_HW_RUNNING
bit so that both match.
next reply other threads:[~2025-02-25 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-25 14:36 Regis Dargent [this message]
2025-02-25 14:36 ` [PATCH v3] watchdog: sunxi_wdt: Allow watchdog to remain enabled after probe Regis Dargent
2025-02-25 21:51 ` Guenter Roeck
2025-02-27 9:39 ` Régis DARGENT
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=20250225143638.1989755-1-regis.dargent@gmail.com \
--to=regis.dargent@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=samuel@sholland.org \
--cc=wens@csie.org \
--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