Skip to content

Commit 7a9dec6

Browse files
wkarnyrafaeljw
authored andcommitted
Documentation: cpufreq: amd-pstate: Update amd_pstate status sysfs for guided
Update amd_pstate status sysfs for guided mode. Acked-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> Signed-off-by: Wyes Karny <wyes.karny@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 3ca7bc8 commit 7a9dec6

1 file changed

Lines changed: 24 additions & 7 deletions

File tree

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

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,18 @@ efficiency frequency management method on AMD processors.
303303
AMD Pstate Driver Operation Modes
304304
=================================
305305

306-
``amd_pstate`` CPPC has two operation modes: CPPC Autonomous(active) mode and
307-
CPPC non-autonomous(passive) mode.
308-
active mode and passive mode can be chosen by different kernel parameters.
309-
When in Autonomous mode, CPPC ignores requests done in the Desired Performance
310-
Target register and takes into account only the values set to the Minimum requested
311-
performance, Maximum requested performance, and Energy Performance Preference
312-
registers. When Autonomous is disabled, it only considers the Desired Performance Target.
306+
``amd_pstate`` CPPC has 3 operation modes: autonomous (active) mode,
307+
non-autonomous (passive) mode and guided autonomous (guided) mode.
308+
Active/passive/guided mode can be chosen by different kernel parameters.
309+
310+
- In autonomous mode, platform ignores the desired performance level request
311+
and takes into account only the values set to the minimum, maximum and energy
312+
performance preference registers.
313+
- In non-autonomous mode, platform gets desired performance level
314+
from OS directly through Desired Performance Register.
315+
- In guided-autonomous mode, platform sets operating performance level
316+
autonomously according to the current workload and within the limits set by
317+
OS through min and max performance registers.
313318

314319
Active Mode
315320
------------
@@ -338,6 +343,15 @@ to the Performance Reduction Tolerance register. Above the nominal performance l
338343
processor must provide at least nominal performance requested and go higher if current
339344
operating conditions allow.
340345

346+
Guided Mode
347+
-----------
348+
349+
``amd_pstate=guided``
350+
351+
If ``amd_pstate=guided`` is passed to kernel command line option then this mode
352+
is activated. In this mode, driver requests minimum and maximum performance
353+
level and the platform autonomously selects a performance level in this range
354+
and appropriate to the current workload.
341355

342356
User Space Interface in ``sysfs`` - General
343357
===========================================
@@ -358,6 +372,9 @@ control its functionality at the system level. They are located in the
358372
"passive"
359373
The driver is functional and in the ``passive mode``
360374

375+
"guided"
376+
The driver is functional and in the ``guided mode``
377+
361378
"disable"
362379
The driver is unregistered and not functional now.
363380

0 commit comments

Comments
 (0)