Skip to content

Commit 15a2b76

Browse files
committed
amd-pstate: Add missing documentation for amd_pstate_prefcore_ranking
`amd_pstate_prefcore_ranking` reflects the dynamic rankings of a CPU core based on platform conditions. Explicitly include it in the documentation. Reviewed-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Mario Limonciello <[email protected]>
1 parent b96b82d commit 15a2b76

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ In some ASICs, the highest CPPC performance is not the one in the ``_CPC``
252252
table, so we need to expose it to sysfs. If boost is not active, but
253253
still supported, this maximum frequency will be larger than the one in
254254
``cpuinfo``. On systems that support preferred core, the driver will have
255-
different values for some cores than others.
255+
different values for some cores than others and this will reflect the values
256+
advertised by the platform at bootup.
256257
This attribute is read-only.
257258

258259
``amd_pstate_lowest_nonlinear_freq``
@@ -268,6 +269,12 @@ This attribute is read-only.
268269
Whether the platform supports the preferred core feature and it has been
269270
enabled. This attribute is read-only.
270271

272+
``amd_pstate_prefcore_ranking``
273+
274+
The performance ranking of the core. This number doesn't have any unit, but
275+
larger numbers are preferred at the time of reading. This can change at
276+
runtime based on platform conditions. This attribute is read-only.
277+
271278
``energy_performance_available_preferences``
272279

273280
A list of all the supported EPP preferences that could be used for

0 commit comments

Comments
 (0)