Skip to contentSkip to conversation

Documentation/admin-guide/pm/intel_pstate: fix Active Mode w/o HWP paragraph

PATCH In review Juri Lelli 3 participants 3 messages May 8, 2018 – May 13, 2018

Subsystems (2)
lore
Share & tools
lore

Juri Lelli

author
#0 lore raw

PATCH 1/1 Documentation/admin-guide/pm/intel_pstate: fix Active Mode w/o HWP paragraph

P-state selection algorithm (powersave or performance) is selected by echoing the desired choice to scaling_governor sysfs attribute and not to scaling_cur_freq (as currently stated).

Fix it.

Cc Jonathan Corbet <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
---
 Documentation/admin-guide/pm/intel_pstate.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/pm/intel_pstate.rst +1 -1
index d2b6fda3d67b..ab2fe0eda1d7 100644
@@ -145,7 +145,7 @@ feature enabled.]
 
 In this mode ``intel_pstate`` registers utilization update callbacks with the
 CPU scheduler in order to run a P-state selection algorithm, either
-``powersave`` or ``performance``, depending on the ``scaling_cur_freq`` policy
+``powersave`` or ``performance``, depending on the ``scaling_governor`` policy
 setting in ``sysfs``.  The current CPU frequency information to be made
 available from the ``scaling_cur_freq`` policy attribute in ``sysfs`` is
 periodically updated by those utilization update callbacks too.
Signature · 1 line
2.14.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Juri Lelli

P-state selection algorithm (powersave or performance) is selected by echoing the desired choice to scaling_governor sysfs attribute and not
to scaling_cur_freq (as currently stated).

Fix it.

Thanks for the fix.

Quoted 7 lines
Cc Jonathan Corbet <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
Quoted 24 lines
---
 Documentation/admin-guide/pm/intel_pstate.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/pm/intel_pstate.rst +0 -0
index d2b6fda3d67b..ab2fe0eda1d7 100644
@@ -145,7 +145,7 @@ feature enabled.]
 
 In this mode ``intel_pstate`` registers utilization update callbacks

with the
CPU scheduler in order to run a P-state selection algorithm, either
-``powersave`` or ``performance``, depending on the ``scaling_cur_freq`` policy
+``powersave`` or ``performance``, depending on the ``scaling_governor`` policy
setting in ``sysfs``. The current CPU frequency information to be
made
available from the ``scaling_cur_freq`` policy attribute in
``sysfs`` is
periodically updated by those utilization update callbacks too.

#2 lore raw
Quoted 31 lines · CEST Srinivas Pandruvada
Quoted 6 lines · Juri Lelli

P-state selection algorithm (powersave or performance) is selected by echoing the desired choice to scaling_governor sysfs attribute and not
to scaling_cur_freq (as currently stated).

Fix it.

Thanks for the fix.

Quoted 7 lines
Cc Jonathan Corbet <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Srinivas Pandruvada <[email protected]>
Quoted 12 lines
---
 Documentation/admin-guide/pm/intel_pstate.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/pm/intel_pstate.rst +0 -0
index d2b6fda3d67b..ab2fe0eda1d7 100644
@@ -145,7 +145,7 @@ feature enabled.]
 
Quoted 13 lines
Quoted 4 lines
Documentation/admin-guide/pm/intel_pstate.rst +0 -0
 In this mode ``intel_pstate`` registers utilization update callbacks

with the
CPU scheduler in order to run a P-state selection algorithm, either
-``powersave`` or ``performance``, depending on the

Quoted 8 lines

``scaling_cur_freq`` policy
+``powersave`` or ``performance``, depending on the ``scaling_governor`` policy
setting in ``sysfs``. The current CPU frequency information to be
made
available from the ``scaling_cur_freq`` policy attribute in
``sysfs`` is
periodically updated by those utilization update callbacks too.

Applied and pushed for 4.17-rc5, thanks!