From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jonathan Corbet <corbet@lwn.net>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Pavel Machek <pavel@kernel.org>, Len Brown <lenb@kernel.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, driver-core@lists.linux.dev,
tfiga@chromium.org, senozhatsky@chromium.org,
Randy Dunlap <rdunlap@infradead.org>
Subject: Re: [PATCH v5 2/2] PM: dpm_watchdog: Allow disabling DPM watchdog by default
Date: Mon, 6 Jul 2026 04:44:01 +0000 [thread overview]
Message-ID: <aksykRsv33t3lUla@google.com> (raw)
In-Reply-To: <2026070140-rally-prowling-4d66@gregkh>
On Wed, Jul 01, 2026 at 09:20:46AM +0200, Greg Kroah-Hartman wrote:
> On Wed, Jul 01, 2026 at 04:56:40AM +0000, Tzung-Bi Shih wrote:
> > diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
> > index 530c897311d4..508ceabc4d2e 100644
> > --- a/kernel/power/Kconfig
> > +++ b/kernel/power/Kconfig
> > @@ -268,6 +268,16 @@ config DPM_WATCHDOG
> > captured in pstore device for inspection in subsequent
> > boot session.
> >
> > +config DPM_WATCHDOG_ENABLED
> > + bool "Enable DPM watchdog by default"
> > + depends on DPM_WATCHDOG
> > + default y
>
> Only do this if you can not boot without the option enabled, which I do
> not think is the case here.
I assume you are referring to the `default y`?
The reason for adding `default y` here is to maintain backward compatibility.
Previously, the DPM watchdog was always active if CONFIG_DPM_WATCHDOG was set.
By defaulting this new option to 'y', we ensure that the behavior remains
unchanged for existing users and defconfigs when they upgrade.
At the same time, this new option provides the flexibility for systems
(like Android GKI) that want to compile the watchdog code in, but keep it
disabled by default.
prev parent reply other threads:[~2026-07-06 4:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 4:56 [PATCH v5 0/2] PM: dpm_watchdog: Improve DPM watchdog configurability Tzung-Bi Shih
2026-07-01 4:56 ` [PATCH v5 1/2] PM: sleep: Rename module parameters prefix to "pm_sleep" Tzung-Bi Shih
2026-07-01 7:19 ` Greg Kroah-Hartman
2026-07-01 11:27 ` Rafael J. Wysocki (Intel)
2026-07-02 6:11 ` Tzung-Bi Shih
2026-07-01 4:56 ` [PATCH v5 2/2] PM: dpm_watchdog: Allow disabling DPM watchdog by default Tzung-Bi Shih
2026-07-01 7:20 ` Greg Kroah-Hartman
2026-07-01 12:53 ` Rafael J. Wysocki (Intel)
2026-07-02 6:12 ` Tzung-Bi Shih
2026-07-06 4:44 ` Tzung-Bi Shih [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=aksykRsv33t3lUla@google.com \
--to=tzungbi@kernel.org \
--cc=corbet@lwn.net \
--cc=dakr@kernel.org \
--cc=driver-core@lists.linux.dev \
--cc=gregkh@linuxfoundation.org \
--cc=lenb@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@kernel.org \
--cc=rafael@kernel.org \
--cc=rdunlap@infradead.org \
--cc=senozhatsky@chromium.org \
--cc=skhan@linuxfoundation.org \
--cc=tfiga@chromium.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.