* [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors
@ 2014-06-05 13:43 Prarit Bhargava
2014-06-05 14:17 ` Viresh Kumar
0 siblings, 1 reply; 6+ messages in thread
From: Prarit Bhargava @ 2014-06-05 13:43 UTC (permalink / raw)
To: linux-kernel
Cc: Prarit Bhargava, Dirk Brandewie, Randy Dunlap, Russell King,
Jesper Nilsson, Viresh Kumar, David S. Miller,
Ramkumar Ramachandra, Rafael J. Wysocki, linux-doc
The current documentation is incomplete wrt the intel_pstate internal
governors. The confusion comes from the general use internal governors
which also use the names performance and powersave. This patch
differentiates between the two sets of governors.
Cc: Dirk Brandewie <dirk.brandewie@gmail.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
---
Documentation/cpu-freq/governors.txt | 2 +-
Documentation/cpu-freq/intel-pstate.txt | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
index 77ec215..c15aa75 100644
--- a/Documentation/cpu-freq/governors.txt
+++ b/Documentation/cpu-freq/governors.txt
@@ -36,7 +36,7 @@ Contents:
1. What Is A CPUFreq Governor?
==============================
-Most cpufreq drivers (in fact, all except one, longrun) or even most
+Most cpufreq drivers (except the intel_pstate and longrun) or even most
cpu frequency scaling algorithms only offer the CPU to be set to one
frequency. In order to offer dynamic frequency scaling, the cpufreq
core must be able to tell these drivers of a "target frequency". So
diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
index e742d21..ce894cc 100644
--- a/Documentation/cpu-freq/intel-pstate.txt
+++ b/Documentation/cpu-freq/intel-pstate.txt
@@ -9,6 +9,14 @@ assumed to implement internal governors by the cpufreq core. All the
logic for selecting the current P state is contained within the
driver; no external governor is used by the cpufreq core.
+The Intel P-state driver has two internal governors, performance and
+powersave. These governors differ from the general use governors of the
+same name in the kernel. The internal performance governor sets the
+max_perf_pct and min_perf_pct to 100; that is, the governor selects the
+highest available P state to maximize the performance of the core. The
+internal powersave governor, selects the appropriate P state based on the
+current load on the CPU.
+
Intel SandyBridge+ processors are supported.
New sysfs files for controlling P state selection have been added to
--
1.7.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors
2014-06-05 13:43 [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors Prarit Bhargava
@ 2014-06-05 14:17 ` Viresh Kumar
2014-06-05 15:07 ` [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2] Prarit Bhargava
0 siblings, 1 reply; 6+ messages in thread
From: Viresh Kumar @ 2014-06-05 14:17 UTC (permalink / raw)
To: Prarit Bhargava
Cc: Linux Kernel Mailing List, Dirk Brandewie, Randy Dunlap,
Russell King, Jesper Nilsson, David S. Miller,
Ramkumar Ramachandra, Rafael J. Wysocki,
linux-doc@vger.kernel.org
On 5 June 2014 19:13, Prarit Bhargava <prarit@redhat.com> wrote:
> The current documentation is incomplete wrt the intel_pstate internal
> governors. The confusion comes from the general use internal governors
> which also use the names performance and powersave. This patch
> differentiates between the two sets of governors.
>
> Cc: Dirk Brandewie <dirk.brandewie@gmail.com>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Ramkumar Ramachandra <artagnon@gmail.com>
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: linux-doc@vger.kernel.org
>
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> ---
> Documentation/cpu-freq/governors.txt | 2 +-
> Documentation/cpu-freq/intel-pstate.txt | 8 ++++++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
> index 77ec215..c15aa75 100644
> --- a/Documentation/cpu-freq/governors.txt
> +++ b/Documentation/cpu-freq/governors.txt
> @@ -36,7 +36,7 @@ Contents:
> 1. What Is A CPUFreq Governor?
> ==============================
>
> -Most cpufreq drivers (in fact, all except one, longrun) or even most
> +Most cpufreq drivers (except the intel_pstate and longrun) or even most
> cpu frequency scaling algorithms only offer the CPU to be set to one
> frequency. In order to offer dynamic frequency scaling, the cpufreq
> core must be able to tell these drivers of a "target frequency". So
> diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
> index e742d21..ce894cc 100644
> --- a/Documentation/cpu-freq/intel-pstate.txt
> +++ b/Documentation/cpu-freq/intel-pstate.txt
> @@ -9,6 +9,14 @@ assumed to implement internal governors by the cpufreq core. All the
> logic for selecting the current P state is contained within the
> driver; no external governor is used by the cpufreq core.
>
> +The Intel P-state driver has two internal governors, performance and
> +powersave. These governors differ from the general use governors of the
s/general use/generally used ??
> +same name in the kernel. The internal performance governor sets the
> +max_perf_pct and min_perf_pct to 100; that is, the governor selects the
> +highest available P state to maximize the performance of the core. The
> +internal powersave governor, selects the appropriate P state based on the
> +current load on the CPU.
> +
> Intel SandyBridge+ processors are supported.
>
> New sysfs files for controlling P state selection have been added to
> --
> 1.7.9.3
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2]
2014-06-05 14:17 ` Viresh Kumar
@ 2014-06-05 15:07 ` Prarit Bhargava
2014-06-05 15:10 ` Dirk Brandewie
2014-06-05 16:58 ` Randy Dunlap
0 siblings, 2 replies; 6+ messages in thread
From: Prarit Bhargava @ 2014-06-05 15:07 UTC (permalink / raw)
To: linux-kernel
Cc: Prarit Bhargava, Viresh Kumar, Dirk Brandewie, Randy Dunlap,
Russell King, Jesper Nilsson, David S. Miller,
Ramkumar Ramachandra, Rafael J. Wysocki, linux-doc
The current documentation is incomplete wrt the intel_pstate internal
governors. The confusion comes from the general use internal governors
which also use the names performance and powersave. This patch
differentiates between the two sets of governors.
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Dirk Brandewie <dirk.brandewie@gmail.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
[v2]: text update
---
Documentation/cpu-freq/governors.txt | 2 +-
Documentation/cpu-freq/intel-pstate.txt | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
index 77ec215..c15aa75 100644
--- a/Documentation/cpu-freq/governors.txt
+++ b/Documentation/cpu-freq/governors.txt
@@ -36,7 +36,7 @@ Contents:
1. What Is A CPUFreq Governor?
==============================
-Most cpufreq drivers (in fact, all except one, longrun) or even most
+Most cpufreq drivers (except the intel_pstate and longrun) or even most
cpu frequency scaling algorithms only offer the CPU to be set to one
frequency. In order to offer dynamic frequency scaling, the cpufreq
core must be able to tell these drivers of a "target frequency". So
diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
index e742d21..2edd8d9 100644
--- a/Documentation/cpu-freq/intel-pstate.txt
+++ b/Documentation/cpu-freq/intel-pstate.txt
@@ -9,6 +9,14 @@ assumed to implement internal governors by the cpufreq core. All the
logic for selecting the current P state is contained within the
driver; no external governor is used by the cpufreq core.
+The Intel P-state driver has two internal governors, performance and
+powersave. These governors differ from the generally used governors of the
+same name in the kernel. The internal performance governor sets the
+max_perf_pct and min_perf_pct to 100; that is, the governor selects the
+highest available P state to maximize the performance of the core. The
+internal powersave governor, selects the appropriate P state based on the
+current load on the CPU.
+
Intel SandyBridge+ processors are supported.
New sysfs files for controlling P state selection have been added to
--
1.7.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2]
2014-06-05 15:07 ` [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2] Prarit Bhargava
@ 2014-06-05 15:10 ` Dirk Brandewie
2014-06-05 16:58 ` Randy Dunlap
1 sibling, 0 replies; 6+ messages in thread
From: Dirk Brandewie @ 2014-06-05 15:10 UTC (permalink / raw)
To: Prarit Bhargava, linux-kernel
Cc: dirk.brandewie, Viresh Kumar, Randy Dunlap, Russell King,
Jesper Nilsson, David S. Miller, Ramkumar Ramachandra,
Rafael J. Wysocki, linux-doc
On 06/05/2014 08:07 AM, Prarit Bhargava wrote:
> The current documentation is incomplete wrt the intel_pstate internal
> governors. The confusion comes from the general use internal governors
> which also use the names performance and powersave. This patch
> differentiates between the two sets of governors.
>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Dirk Brandewie <dirk.brandewie@gmail.com>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Ramkumar Ramachandra <artagnon@gmail.com>
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: linux-doc@vger.kernel.org
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
>
Acked-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
> [v2]: text update
> ---
> Documentation/cpu-freq/governors.txt | 2 +-
> Documentation/cpu-freq/intel-pstate.txt | 8 ++++++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
> index 77ec215..c15aa75 100644
> --- a/Documentation/cpu-freq/governors.txt
> +++ b/Documentation/cpu-freq/governors.txt
> @@ -36,7 +36,7 @@ Contents:
> 1. What Is A CPUFreq Governor?
> ==============================
>
> -Most cpufreq drivers (in fact, all except one, longrun) or even most
> +Most cpufreq drivers (except the intel_pstate and longrun) or even most
> cpu frequency scaling algorithms only offer the CPU to be set to one
> frequency. In order to offer dynamic frequency scaling, the cpufreq
> core must be able to tell these drivers of a "target frequency". So
> diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
> index e742d21..2edd8d9 100644
> --- a/Documentation/cpu-freq/intel-pstate.txt
> +++ b/Documentation/cpu-freq/intel-pstate.txt
> @@ -9,6 +9,14 @@ assumed to implement internal governors by the cpufreq core. All the
> logic for selecting the current P state is contained within the
> driver; no external governor is used by the cpufreq core.
>
> +The Intel P-state driver has two internal governors, performance and
> +powersave. These governors differ from the generally used governors of the
> +same name in the kernel. The internal performance governor sets the
> +max_perf_pct and min_perf_pct to 100; that is, the governor selects the
> +highest available P state to maximize the performance of the core. The
> +internal powersave governor, selects the appropriate P state based on the
> +current load on the CPU.
> +
> Intel SandyBridge+ processors are supported.
>
> New sysfs files for controlling P state selection have been added to
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2]
2014-06-05 15:07 ` [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2] Prarit Bhargava
2014-06-05 15:10 ` Dirk Brandewie
@ 2014-06-05 16:58 ` Randy Dunlap
2014-06-05 17:21 ` [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v3] Prarit Bhargava
1 sibling, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2014-06-05 16:58 UTC (permalink / raw)
To: Prarit Bhargava, linux-kernel
Cc: Viresh Kumar, Dirk Brandewie, Russell King, Jesper Nilsson,
David S. Miller, Ramkumar Ramachandra, Rafael J. Wysocki,
linux-doc
On 06/05/2014 08:07 AM, Prarit Bhargava wrote:
> The current documentation is incomplete wrt the intel_pstate internal
> governors. The confusion comes from the general use internal governors
> which also use the names performance and powersave. This patch
> differentiates between the two sets of governors.
>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Dirk Brandewie <dirk.brandewie@gmail.com>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Jesper Nilsson <jesper.nilsson@axis.com>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Ramkumar Ramachandra <artagnon@gmail.com>
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: linux-doc@vger.kernel.org
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
>
> [v2]: text update
> ---
> Documentation/cpu-freq/governors.txt | 2 +-
> Documentation/cpu-freq/intel-pstate.txt | 8 ++++++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
> index 77ec215..c15aa75 100644
> --- a/Documentation/cpu-freq/governors.txt
> +++ b/Documentation/cpu-freq/governors.txt
> @@ -36,7 +36,7 @@ Contents:
> 1. What Is A CPUFreq Governor?
> ==============================
>
> -Most cpufreq drivers (in fact, all except one, longrun) or even most
> +Most cpufreq drivers (except the intel_pstate and longrun) or even most
> cpu frequency scaling algorithms only offer the CPU to be set to one
> frequency. In order to offer dynamic frequency scaling, the cpufreq
> core must be able to tell these drivers of a "target frequency". So
> diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
> index e742d21..2edd8d9 100644
> --- a/Documentation/cpu-freq/intel-pstate.txt
> +++ b/Documentation/cpu-freq/intel-pstate.txt
> @@ -9,6 +9,14 @@ assumed to implement internal governors by the cpufreq core. All the
> logic for selecting the current P state is contained within the
> driver; no external governor is used by the cpufreq core.
>
> +The Intel P-state driver has two internal governors, performance and
> +powersave. These governors differ from the generally used governors of the
> +same name in the kernel. The internal performance governor sets the
> +max_perf_pct and min_perf_pct to 100; that is, the governor selects the
> +highest available P state to maximize the performance of the core. The
> +internal powersave governor, selects the appropriate P state based on the
no comma here ---------------^
> +current load on the CPU.
> +
> Intel SandyBridge+ processors are supported.
>
> New sysfs files for controlling P state selection have been added to
>
--
~Randy
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v3]
2014-06-05 16:58 ` Randy Dunlap
@ 2014-06-05 17:21 ` Prarit Bhargava
0 siblings, 0 replies; 6+ messages in thread
From: Prarit Bhargava @ 2014-06-05 17:21 UTC (permalink / raw)
To: linux-kernel
Cc: Prarit Bhargava, Viresh Kumar, Dirk Brandewie, Randy Dunlap,
Russell King, Jesper Nilsson, David S. Miller,
Ramkumar Ramachandra, Rafael J. Wysocki, linux-doc
The current documentation is incomplete wrt the intel_pstate internal
governors. The confusion comes from the general use internal governors
which also use the names performance and powersave. This patch
differentiates between the two sets of governors.
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Dirk Brandewie <dirk.brandewie@gmail.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
[v2]: text update
[v3]: text update
---
Documentation/cpu-freq/governors.txt | 2 +-
Documentation/cpu-freq/intel-pstate.txt | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq/governors.txt
index 77ec215..c15aa75 100644
--- a/Documentation/cpu-freq/governors.txt
+++ b/Documentation/cpu-freq/governors.txt
@@ -36,7 +36,7 @@ Contents:
1. What Is A CPUFreq Governor?
==============================
-Most cpufreq drivers (in fact, all except one, longrun) or even most
+Most cpufreq drivers (except the intel_pstate and longrun) or even most
cpu frequency scaling algorithms only offer the CPU to be set to one
frequency. In order to offer dynamic frequency scaling, the cpufreq
core must be able to tell these drivers of a "target frequency". So
diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
index e742d21..7e9db8f 100644
--- a/Documentation/cpu-freq/intel-pstate.txt
+++ b/Documentation/cpu-freq/intel-pstate.txt
@@ -9,6 +9,14 @@ assumed to implement internal governors by the cpufreq core. All the
logic for selecting the current P state is contained within the
driver; no external governor is used by the cpufreq core.
+The Intel P-state driver has two internal governors, performance and
+powersave. These governors differ from the generally used governors of the
+same name in the kernel. The internal performance governor sets the
+max_perf_pct and min_perf_pct to 100; that is, the governor selects the
+highest available P state to maximize the performance of the core. The
+internal powersave governor selects the appropriate P state based on the
+current load on the CPU.
+
Intel SandyBridge+ processors are supported.
New sysfs files for controlling P state selection have been added to
--
1.7.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-05 17:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 13:43 [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors Prarit Bhargava
2014-06-05 14:17 ` Viresh Kumar
2014-06-05 15:07 ` [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v2] Prarit Bhargava
2014-06-05 15:10 ` Dirk Brandewie
2014-06-05 16:58 ` Randy Dunlap
2014-06-05 17:21 ` [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v3] Prarit Bhargava
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox