From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Mario Limonciello <mario.limonciello@amd.com>
Cc: Perry Yuan <perry.yuan@amd.com>,
"open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)"
<linux-kernel@vger.kernel.org>,
"open list:CPU FREQUENCY SCALING FRAMEWORK"
<linux-pm@vger.kernel.org>, kernel test robot <lkp@intel.com>
Subject: Re: [PATCH] cpufreq/amd-pstate: Add POWER_SUPPLY dependency for dynamic EPP
Date: Tue, 7 Apr 2026 22:38:16 +0530 [thread overview]
Message-ID: <50b3313d-aa85-4cb8-801a-e40e3168383a@amd.com> (raw)
In-Reply-To: <20260407145458.163727-1-mario.limonciello@amd.com>
Hello Mario,
On 4/7/2026 8:24 PM, Mario Limonciello wrote:
> config X86_AMD_PSTATE_DYNAMIC_EPP
> bool "AMD Processor P-State dynamic EPP support"
> - depends on X86_AMD_PSTATE
> + depends on X86_AMD_PSTATE && POWER_SUPPLY
This config only controls the default selection right? The offending
power_supply_{reg,unreg}_notifier() isn't guarded behind
#ifdef CONFIG_X86_AMD_PSTATE_DYNAMIC_EPP so we'll still run into this.
I thing X86_AMD_PSTATE doing a "select POWER_SUPPLY" should cure this.
Thoughts?
> default n
> help
> Allow the kernel to dynamically change the energy performance
--
Thanks and Regards,
Prateek
next prev parent reply other threads:[~2026-04-07 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-07 14:54 [PATCH] cpufreq/amd-pstate: Add POWER_SUPPLY dependency for dynamic EPP Mario Limonciello
2026-04-07 17:07 ` Rafael J. Wysocki
2026-04-07 17:08 ` K Prateek Nayak [this message]
2026-04-07 17:09 ` Mario Limonciello
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=50b3313d-aa85-4cb8-801a-e40e3168383a@amd.com \
--to=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mario.limonciello@amd.com \
--cc=perry.yuan@amd.com \
/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.