Skip to contentSkip to conversation

cpufreq: docs: Add missing cpuinfo_cur_freq description

PATCH In review Rafael J. Wysocki 2 participants 2 messages Jul 27, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: docs: Add missing cpuinfo_cur_freq description

From: Rafael J. Wysocki <[email protected]>

Add a description of the cpuinfo_cur_freq policy attribute in sysfs to the cpufreq documentation under Documentation/admin-guide/pm/ as it is missing after commit 2a0e49279850 (cpufreq: User/admin documentation update and consolidation) that overlooked it.

Fixes 2a0e49279850 (cpufreq: User/admin documentation update and consolidation)
---
 Documentation/admin-guide/pm/cpufreq.rst |    8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/admin-guide/pm/cpufreq.rst +8 -0
Index: linux-pm/Documentation/admin-guide/pm/cpufreq.rst
===================================================================
@@ -237,6 +237,14 @@ are the following:
 	This attribute is not present if the scaling driver in use does not
 	support it.
 
+``cpuinfo_cur_freq``
+	Current frequency of the CPUs belonging to this policy as obtained from
+	the hardware (in KHz).
+
+	This is expected to be the frequency the hardware actually runs at.
+	If that frequency cannot be determined, this attribute should not
+	be present.
+
 ``cpuinfo_max_freq``
 	Maximum possible operating frequency the CPUs belonging to this policy
 	can run at (in kHz).
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 22 lines · Rafael J. Wysocki

From: Rafael J. Wysocki <[email protected]>

Add a description of the cpuinfo_cur_freq policy attribute in sysfs to the cpufreq documentation under Documentation/admin-guide/pm/ as it is missing after commit 2a0e49279850 (cpufreq: User/admin documentation update and consolidation) that overlooked it.

Fixes 2a0e49279850 (cpufreq: User/admin documentation update and consolidation)
---
 Documentation/admin-guide/pm/cpufreq.rst |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: linux-pm/Documentation/admin-guide/pm/cpufreq.rst
===================================================================

Documentation/admin-guide/pm/cpufreq.rst +1 -0
@@ -237,6 +237,14 @@ are the following:
 	This attribute is not present if the scaling driver in use does not
 	support it.
 
+``cpuinfo_cur_freq``

Documentation/admin-guide/pm/cpufreq.rst are the following: · line 250

Quoted 10 lines
Documentation/admin-guide/pm/cpufreq.rst +7 -0
+	Current frequency of the CPUs belonging to this policy as obtained from
+	the hardware (in KHz).
+
+	This is expected to be the frequency the hardware actually runs at.
+	If that frequency cannot be determined, this attribute should not
+	be present.
+
 ``cpuinfo_max_freq``
 	Maximum possible operating frequency the CPUs belonging to this policy
 	can run at (in kHz).
Signature · 1 line
viresh