Skip to content

Commit 8a2cbf7

Browse files
Perry Yuanrafaeljw
authored andcommitted
Documentation: amd-pstate: add driver working mode introduction
Introduce the `amd_pstate` driver new working mode with `amd_pstate=passive` added to kernel command line. If there is no passive mode enabled by user, amd_pstate driver will be disabled by default for now. Acked-by: Huang Rui <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Tested-by: Wyes Karny <[email protected]> Signed-off-by: Perry Yuan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 202e683 commit 8a2cbf7

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

Documentation/admin-guide/pm/amd-pstate.rst

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -283,23 +283,19 @@ efficiency frequency management method on AMD processors.
283283
Kernel Module Options for ``amd-pstate``
284284
=========================================
285285

286-
.. _shared_mem:
287-
288-
``shared_mem``
289-
Use a module param (shared_mem) to enable related processors manually with
290-
**amd_pstate.shared_mem=1**.
291-
Due to the performance issue on the processors with `Shared Memory Support
292-
<perf_cap_>`_, we disable it presently and will re-enable this by default
293-
once we address performance issue with this solution.
294-
295-
To check whether the current processor is using `Full MSR Support <perf_cap_>`_
296-
or `Shared Memory Support <perf_cap_>`_ : ::
297-
298-
ray@hr-test1:~$ lscpu | grep cppc
299-
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
300-
301-
If the CPU flags have ``cppc``, then this processor supports `Full MSR Support
302-
<perf_cap_>`_. Otherwise, it supports `Shared Memory Support <perf_cap_>`_.
286+
Passive Mode
287+
------------
288+
289+
``amd_pstate=passive``
290+
291+
It will be enabled if the ``amd_pstate=passive`` is passed to the kernel in the command line.
292+
In this mode, ``amd_pstate`` driver software specifies a desired QoS target in the CPPC
293+
performance scale as a relative number. This can be expressed as percentage of nominal
294+
performance (infrastructure max). Below the nominal sustained performance level,
295+
desired performance expresses the average performance level of the processor subject
296+
to the Performance Reduction Tolerance register. Above the nominal performance level,
297+
processor must provide at least nominal performance requested and go higher if current
298+
operating conditions allow.
303299

304300

305301
``cpupower`` tool support for ``amd-pstate``

0 commit comments

Comments
 (0)