Re: [PATCH] cpufreq/amd-pstate: Drop Kconfig option for dynamic EPP
From: Mario Limonciello
Date: Thu May 14 2026 - 09:06:51 EST
On 5/14/26 08:05, K Prateek Nayak wrote:
Hello Mario,
On 5/13/2026 3:49 AM, Mario Limonciello wrote:
--- a/Documentation/admin-guide/pm/amd-pstate.rst
+++ b/Documentation/admin-guide/pm/amd-pstate.rst
@@ -358,8 +358,8 @@ Dynamic energy performance profile
The amd-pstate driver supports dynamically selecting the energy performance
profile based on whether the machine is running on AC or DC power.
-Whether this behavior is enabled by default depends on the kernel
-config option `CONFIG_X86_AMD_PSTATE_DYNAMIC_EPP`. This behavior can also be overridden
+Whether this behavior is enabled by default depends on the kernel command line option
+``amd_dynamic_epp`` is set. This behavior can also be overridden
at runtime by the sysfs file ``/sys/devices/system/cpu/cpufreq/policyX/dynamic_epp``.
Unrelated nit.
This file should have been
/sys/devices/system/cpu/amd_pstate/dynamic_epp right?
Correct; thanks. I'll roll that in.
Apart from that, feel free to add:
Reviewed-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>
Appreciated.
When set to enabled, the driver will select a different energy performance