Skip to content

Commit cb55e65

Browse files
nvollmarmergify[bot]
authored andcommitted
T6703: Add documentation for AMD pstate driver
(cherry picked from commit 1930ed1)
1 parent 3772be8 commit cb55e65

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

docs/configuration/system/option.rst

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,35 @@ Kernel
4343

4444
.. cfgcmd:: set system option kernel disable-power-saving
4545

46-
Disable CPU power saving mechanisms also known as C states.
47-
4846
This will add the following two options to the Kernel commandline:
4947

5048
* ``intel_idle.max_cstate=0`` Disable intel_idle and fall back on acpi_idle
5149
* ``processor.max_cstate=1`` Limit processor to maximum C-state 1
5250

5351
.. note:: Setting will only become active with the next reboot!
5452

53+
.. cfgcmd:: set system option kernel amd-pstate-driver <mode>
54+
55+
Enables and configures p-state driver for modern AMD Ryzen and Epyc CPUs.
56+
57+
The available modes are:
58+
59+
* ``active`` This is the low-level firmware control mode based on the profile
60+
set and the system governor has no effect.
61+
* ``passive`` The driver allows the system governor to manage CPU frequency
62+
while providing available performance states.
63+
* ``guided`` The driver allows to set desired performance levels and the firmware
64+
selects a performance level in this range and fitting to the current workload.
65+
66+
This will add the following two options to the Kernel commandline:
67+
68+
* ``initcall_blacklist=acpi_cpufreq_init`` Disable default ACPI CPU frequency scale
69+
* ``amd_pstate={mode}`` Sets the p-state mode
70+
71+
.. note:: Setting will only become active with the next reboot!
72+
73+
.. seealso:: https://docs.kernel.org/admin-guide/pm/amd-pstate.html
74+
5575
***********
5676
HTTP client
5777
***********

0 commit comments

Comments
 (0)