From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Mario Limonciello <mario.limonciello@amd.com>,
Huang Rui <ray.huang@amd.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Kalpana Shetty <kalpana.shetty@amd.com>
Cc: Mario Limonciello <superm1@kernel.org>,
Perry Yuan <perry.yuan@amd.com>,
"K Prateek Nayak" <kprateek.nayak@amd.com>,
<linux-pm@vger.kernel.org>, <linux-doc@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH v2 0/9] cpufreq/amd-pstate: BIOS min perf fixes and Dynamic EPP rework
Date: Thu, 23 Jul 2026 20:12:19 +0000 [thread overview]
Message-ID: <20260723201228.22584-1-kprateek.nayak@amd.com> (raw)
This is essentially a combined v2 of the following series:
https://lore.kernel.org/lkml/20260715074822.16324-1-kprateek.nayak@amd.com/
https://lore.kernel.org/lkml/20260630185904.5602-1-kprateek.nayak@amd.com/
The first two patches fix BIOS min perf setting and its persistence
across kexec. The next set of patches rework the Dynamic EPP feature
into an energy_performance_preference mode.
Unit tests are extended to cover the new dynamic_epp mode and also the
floor perf (CPPC Performance Priority) feature for completeness.
Patches are based on:
git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git bleeding-edge
at commit 39c0cf62fc78 ("cpufreq/amd-pstate: handle missing policy in
dynamic EPP callbacks")
Everyone has been Cc'd on the cover letter. Respective maintainers have
been Cc'd on the relevant patches to reduce noise. Lists get the full
series.
---
Changelog rfc v1..v2:
o Simplified bios_min_perf handover during kexec by removing the
defensive check (Mario).
o Removed the amd_dynamic_epp kernel cmdline and the dynamic_epp sysfs
file as they are now redundant.
o Updated the documentation.
o Updated unit test to account for dynamic_epp removal.
o Added unit test for floor frequency. (Kalpana)
Individual patches have breief changelogs attached. Reviews and testing
is highly appreciated.
--
K Prateek Nayak (9):
cpufreq/amd-pstate: Set min_limit_freq based on bios_min_perf
cpufreq/amd-pstate: Remove the defensive check for bios_min_perf
cpufreq/amd-pstate: Extract platform profile to EPP conversion into a
helper
cpufreq/amd-pstate: Add dynamic EPP as an
"energy_performance_preference" mode
cpufreq/amd-pstate: Remove "amd_dynamic_epp" cmdline and "dynamic_epp"
sysfs
Documentation/amd-pstate: Update dynamic_epp documentation with new
behavior
cpufreq/amd-pstate: Reduce the scope of exported symbols
cpufreq/amd-pstate-ut: Add unit test for "dynamic" EPP mode
cpufreq/amd-pstate-ut: Add unit test for CPPC Performance Priority
Documentation/admin-guide/pm/amd-pstate.rst | 46 ++--
drivers/cpufreq/amd-pstate-ut.c | 128 +++++++++--
drivers/cpufreq/amd-pstate.c | 240 ++++++++++----------
drivers/cpufreq/amd-pstate.h | 9 +
4 files changed, 253 insertions(+), 170 deletions(-)
base-commit: 39c0cf62fc7851a17782e7efe8dfb2948739c681
--
2.34.1
next reply other threads:[~2026-07-23 20:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 20:12 K Prateek Nayak [this message]
2026-07-23 20:12 ` [PATCH v2 1/9] cpufreq/amd-pstate: Set min_limit_freq based on bios_min_perf K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 2/9] cpufreq/amd-pstate: Remove the defensive check for bios_min_perf K Prateek Nayak
2026-07-23 21:17 ` Mario Limonciello
2026-07-23 20:12 ` [PATCH v2 3/9] cpufreq/amd-pstate: Extract platform profile to EPP conversion into a helper K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 4/9] cpufreq/amd-pstate: Add dynamic EPP as an "energy_performance_preference" mode K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 5/9] cpufreq/amd-pstate: Remove "amd_dynamic_epp" cmdline and "dynamic_epp" sysfs K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 6/9] Documentation/amd-pstate: Update dynamic_epp documentation with new behavior K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 7/9] cpufreq/amd-pstate: Reduce the scope of exported symbols K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 8/9] cpufreq/amd-pstate-ut: Add unit test for "dynamic" EPP mode K Prateek Nayak
2026-07-23 20:12 ` [PATCH v2 9/9] cpufreq/amd-pstate-ut: Add unit test for CPPC Performance Priority K Prateek Nayak
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=20260723201228.22584-1-kprateek.nayak@amd.com \
--to=kprateek.nayak@amd.com \
--cc=corbet@lwn.net \
--cc=kalpana.shetty@amd.com \
--cc=linux-doc@vger.kernel.org \
--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=skhan@linuxfoundation.org \
--cc=superm1@kernel.org \
--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