* [PATCH] cpufreq-stats: document limitations on modern cpufreq drivers [not found] <20260510143303.120863-1-nicobsc4.ref@yahoo.com> @ 2026-05-10 14:33 ` NicoErdmann 2026-05-10 17:33 ` Randy Dunlap 0 siblings, 1 reply; 3+ messages in thread From: NicoErdmann @ 2026-05-10 14:33 UTC (permalink / raw) To: linux-pm; +Cc: linux-doc, rafael, viresh.kumar, corbet, skhan, NicoErdmann Signed-off-by: NicoErdmann <nicobsc4@yahoo.com> --- Documentation/cpu-freq/cpufreq-stats.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/cpu-freq/cpufreq-stats.rst b/Documentation/cpu-freq/cpufreq-stats.rst index 9ad695b1c7db..e8a8b3a85ad8 100644 --- a/Documentation/cpu-freq/cpufreq-stats.rst +++ b/Documentation/cpu-freq/cpufreq-stats.rst @@ -28,6 +28,13 @@ Various statistics will form read_only files under this directory. This driver is designed to be independent of any particular cpufreq_driver that may be running on your CPU. So, it will work with any cpufreq_driver. +.. note:: + + On some modern systems, this interface may not be available or may not + expose meaningful statistics depending on the active CPU frequency scaling driver. + + In particular, drivers such as intel_pstate or amd_pstate may use alternative + mechanisms for frequency scaling and accounting 2. Statistics Provided (with example) ===================================== -- 2.54.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] cpufreq-stats: document limitations on modern cpufreq drivers 2026-05-10 14:33 ` [PATCH] cpufreq-stats: document limitations on modern cpufreq drivers NicoErdmann @ 2026-05-10 17:33 ` Randy Dunlap 2026-05-10 19:33 ` [PATCH v2] " NicoErdmann 0 siblings, 1 reply; 3+ messages in thread From: Randy Dunlap @ 2026-05-10 17:33 UTC (permalink / raw) To: NicoErdmann, linux-pm; +Cc: linux-doc, rafael, viresh.kumar, corbet, skhan On 5/10/26 7:33 AM, NicoErdmann wrote: > Signed-off-by: NicoErdmann <nicobsc4@yahoo.com> > --- > Documentation/cpu-freq/cpufreq-stats.rst | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/cpu-freq/cpufreq-stats.rst b/Documentation/cpu-freq/cpufreq-stats.rst > index 9ad695b1c7db..e8a8b3a85ad8 100644 > --- a/Documentation/cpu-freq/cpufreq-stats.rst > +++ b/Documentation/cpu-freq/cpufreq-stats.rst > @@ -28,6 +28,13 @@ Various statistics will form read_only files under this directory. > This driver is designed to be independent of any particular cpufreq_driver > that may be running on your CPU. So, it will work with any cpufreq_driver. > > +.. note:: > + > + On some modern systems, this interface may not be available or may not > + expose meaningful statistics depending on the active CPU frequency scaling driver. > + > + In particular, drivers such as intel_pstate or amd_pstate may use alternative > + mechanisms for frequency scaling and accounting Missing an ending period. > > 2. Statistics Provided (with example) > ===================================== -- ~Randy ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] cpufreq-stats: document limitations on modern cpufreq drivers 2026-05-10 17:33 ` Randy Dunlap @ 2026-05-10 19:33 ` NicoErdmann 0 siblings, 0 replies; 3+ messages in thread From: NicoErdmann @ 2026-05-10 19:33 UTC (permalink / raw) To: linux-pm; +Cc: linux-doc, rafael, viresh.kumar, corbet, skhan, NicoErdmann Add a note clarifying that cpufreq-stats may not be present or may not provide meaningful statistics depending on the active CPU frequency scaling driver. In particular, drivers such as intel_pstate and amd_pstate may use alternative mechanisms for frequency scaling and accounting. v2: - Add missing period at end of sentence (reported by Randy) Signed-off-by: NicoErdmann <nicobsc4@yahoo.com> --- Documentation/cpu-freq/cpufreq-stats.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/cpu-freq/cpufreq-stats.rst b/Documentation/cpu-freq/cpufreq-stats.rst index 9ad695b1c7db..6ffa5a6a63c9 100644 --- a/Documentation/cpu-freq/cpufreq-stats.rst +++ b/Documentation/cpu-freq/cpufreq-stats.rst @@ -28,6 +28,13 @@ Various statistics will form read_only files under this directory. This driver is designed to be independent of any particular cpufreq_driver that may be running on your CPU. So, it will work with any cpufreq_driver. +.. note:: + + On some modern systems, this interface may not be available or may not + expose meaningful statistics depending on the active CPU frequency scaling driver. + + In particular, drivers such as intel_pstate or amd_pstate may use alternative + mechanisms for frequency scaling and accounting. 2. Statistics Provided (with example) ===================================== -- 2.54.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-10 19:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260510143303.120863-1-nicobsc4.ref@yahoo.com>
2026-05-10 14:33 ` [PATCH] cpufreq-stats: document limitations on modern cpufreq drivers NicoErdmann
2026-05-10 17:33 ` Randy Dunlap
2026-05-10 19:33 ` [PATCH v2] " NicoErdmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox