diff options
author | Perry Yuan <Perry.Yuan@amd.com> | 2022-11-17 08:35:39 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-11-22 19:57:15 +0100 |
commit | 202e683df37cdf4c38e06e56ac91cc170ef49058 (patch) | |
tree | 84b0dcc00b2d82d85c4c7833b7747b1ed13b81d7 /Documentation/admin-guide/pm/amd-pstate.rst | |
parent | cpufreq: amd-pstate: change amd-pstate driver to be built-in type (diff) | |
download | linux-202e683df37cdf4c38e06e56ac91cc170ef49058.tar.xz linux-202e683df37cdf4c38e06e56ac91cc170ef49058.zip |
cpufreq: amd-pstate: add amd-pstate driver parameter for mode selection
When the amd_pstate driver is built-in users still need a method to be
able enable or disable it depending upon their circumstance.
Add support for an early parameter to do this.
There is some performance degradation on a number of ASICs in the
passive mode. This performance issue was originally discovered in
shared memory systems but it has been proven that certain workloads
on MSR systems also suffer performance issues.
Set the amd-pstate driver as disabled by default to temporarily
mitigate the performance problem.
1) with `amd_pstate=disable`, pstate driver will be disabled to load at
kernel booting.
2) with `amd_pstate=passive`, pstate driver will be enabled and loaded
as non-autonomous working mode supported in the low-level power
management firmware.
3) If neither parameter is specified, the driver will be disabled by
default to avoid triggering performance regressions in certain ASICs
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Tested-by: Wyes Karny <wyes.karny@amd.com>
Signed-off-by: Perry Yuan <Perry.Yuan@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/admin-guide/pm/amd-pstate.rst')
0 files changed, 0 insertions, 0 deletions