From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Marco Scardovi <scardracs@disroot.org>
Cc: <linux-kernel@vger.kernel.org>, <linux-pm@vger.kernel.org>,
<mario.limonciello@amd.com>, <perry.yuan@amd.com>,
<rafael@kernel.org>, <ray.huang@amd.com>,
<stuartmeckle@gmail.com>, <viresh.kumar@linaro.org>
Subject: Re: [PATCH v5 2/3] cpufreq/amd-pstate: Toggle auto_sel in active mode on shared memory systems
Date: Tue, 9 Jun 2026 10:17:15 +0530 [thread overview]
Message-ID: <160328b1-bc66-4748-bf5c-870bac6a2d10@amd.com> (raw)
In-Reply-To: <20260608073614.5738-3-scardracs@disroot.org>
Hello Marco,
On 6/8/2026 1:01 PM, Marco Scardovi wrote:
> On shared memory systems, the EPP configuration path (handled via
> cppc_set_epp_perf()) is responsible for toggling on the CPPC autonomous
> selection register (auto_sel).
>
> Currently, shmem_init_perf() returns early without doing any of the auto_sel
> configuration steps if cppc_state is AMD_PSTATE_ACTIVE. This skips enabling
> auto_sel, leaving the CPU in non-autonomous mode.
>
> Remove the early return check in shmem_init_perf() when cppc_state is
> AMD_PSTATE_ACTIVE. Toggling auto_sel is necessary for the active mode on
> shared memory systems to function based on the ACPI spec for CPPC v2 and
> below.
>
> Fixes: 2dd6d0ebf740 ("cpufreq: amd-pstate: Add guided autonomous mode")
> Assisted-by: Antigravity:gemini-3.5-flash
> Signed-off-by: Marco Scardovi <scardracs@disroot.org>
Feel free to include:
Reviewed-by: K Prateek Nayak <kprateek.anayk@amd.com>
--
Thanks and Regards,
Prateek
next prev parent reply other threads:[~2026-06-09 4:47 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 10:26 [PATCH v3 0/1] cpufreq/amd-pstate: Fix EPP initialization for " Marco Scardovi
2026-06-05 10:26 ` [PATCH v3 1/1] " Marco Scardovi
2026-06-05 18:24 ` Mario Limonciello
2026-06-06 6:57 ` [PATCH v4 0/1] " Marco Scardovi
2026-06-06 6:57 ` [PATCH v4 1/1] " Marco Scardovi
2026-06-08 4:21 ` K Prateek Nayak
2026-06-08 7:31 ` [PATCH v5 0/3] cpufreq/amd-pstate: Fix EPP and auto_sel initialization Marco Scardovi
2026-06-08 7:31 ` [PATCH v5 1/3] cpufreq/amd-pstate: Fix EPP return type and handle errors during initialization Marco Scardovi
2026-06-09 4:45 ` K Prateek Nayak
2026-06-08 7:31 ` [PATCH v5 2/3] cpufreq/amd-pstate: Toggle auto_sel in active mode on shared memory systems Marco Scardovi
2026-06-09 4:47 ` K Prateek Nayak [this message]
2026-06-08 7:31 ` [PATCH v5 3/3] cpufreq/amd-pstate: Cache the firmware programmed EPP value Marco Scardovi
2026-06-09 4:50 ` K Prateek Nayak
2026-06-09 7:18 ` [PATCH v5 0/3] cpufreq/amd-pstate: Fix EPP and auto_sel initialization K Prateek Nayak
2026-06-09 7:29 ` [PATCH v6 " Marco Scardovi
2026-06-09 7:29 ` [PATCH v6 1/3] cpufreq/amd-pstate: Fix EPP return type and handle errors during initialization Marco Scardovi
2026-06-09 7:29 ` [PATCH v6 2/3] cpufreq/amd-pstate: Toggle auto_sel in active mode on shared memory systems Marco Scardovi
2026-06-09 7:29 ` [PATCH v6 3/3] cpufreq/amd-pstate: Cache the firmware programmed EPP value Marco Scardovi
2026-06-09 13:48 ` [PATCH v6 0/3] cpufreq/amd-pstate: Fix EPP and auto_sel initialization Mario Limonciello
2026-06-10 7:09 ` Marco Scardovi
2026-06-08 16:06 ` [PATCH v4 1/1] cpufreq/amd-pstate: Fix EPP initialization for shared memory systems 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=160328b1-bc66-4748-bf5c-870bac6a2d10@amd.com \
--to=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=perry.yuan@amd.com \
--cc=rafael@kernel.org \
--cc=ray.huang@amd.com \
--cc=scardracs@disroot.org \
--cc=stuartmeckle@gmail.com \
--cc=viresh.kumar@linaro.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
all inboxes | Powered by JetHome®