[RFC PATCH 0/6] cpufreq/amd-pstate: Rework dynamic_epp as an energy_performance_preference mode
From: K Prateek Nayak
Date: Tue Jun 30 2026 - 14:59:35 EST
Like custom_epp, move dnamic_epp functionality into a
energy_performance_preference selection which makes the integration more
natural with the rest of the driver functionality.
RFC is mainly to check if this is a good idea and if the "dynamic_epp"
sysfs needs to be retained? I've retained it in the series, changing it
to a RO attribute to reflect if the feature is disabled from kenel
cmdline but it seems unnecessary with the feature available as an
"energy_performance_preference" which can be toggled anytime.
Series is based on linux-pm:bleeding-edge at commit 03842bb4dfb5
("Merge branch 'experimental/acpi-driver-work' into bleeding-edge")
(30-06-2026) with Marco's series from [1] applied on top.
[1] https://lore.kernel.org/lkml/20260609073042.81275-1-scardracs@xxxxxxxxxxx/
---
K Prateek Nayak (6):
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: Repurpose "amd_dynamic_epp" cmdline and
corresponding 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
Documentation/admin-guide/pm/amd-pstate.rst | 61 ++++--
drivers/cpufreq/amd-pstate-ut.c | 48 +++--
drivers/cpufreq/amd-pstate.c | 221 ++++++++++++--------
drivers/cpufreq/amd-pstate.h | 8 +
4 files changed, 206 insertions(+), 132 deletions(-)
base-commit: 03842bb4dfb516e7c3c6323fede451823c4629dc
prerequisite-message-id: 20260609073042.81275-1-scardracs@xxxxxxxxxxx
prerequisite-patch-id: 15637b279250c6f653e42afb1c7ed7970be2627e
prerequisite-patch-id: f8c8f4064db0f33251d420723da8c92d9d803890
prerequisite-patch-id: 72386a2a5a24597eccbeb16624dcfd8b27770c16
--
2.34.1