linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] cpufreq governors and Intel P state driver compatibility
@ 2015-12-05  0:08 Srinivas Pandruvada
  2015-12-05  0:08 ` [PATCH 1/4] cpufreq: Add configurable generic policies Srinivas Pandruvada
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Srinivas Pandruvada @ 2015-12-05  0:08 UTC (permalink / raw)
  To: rjw, len.brown, viresh.kumar; +Cc: linux-pm, Srinivas Pandruvada

Intel P State driver implements two policies, performance and powersave.
The powersave policy is similar to ondemand cpufreq governor when using
acpi-cpufreq. This causes lots of confusion among users. This results
in invalid comparison of performance when acpi-cpufreq and Intel P state
performance is compared.

The reason Intel P state called powersave when it actually implemented
ondemand style P State selection, because the cpufreq core only allows
two generic policies "performance and powersave" for drivers which has
setpolicy() interface. All drivers using this interface are forced to
support these two policies.

This patchset adds feature to have configurable generic policies and
allows ondemand as one of the policy. With this approach, Intel P state
now adds support for ondemand policy and power save policy both in
addition to performance.

To be done:
cpufreq and Intel P state documentation update:
Once this approach is OK, will submit a patch to update.

Srinivas Pandruvada (4):
  cpufreq: Add configurable generic policies
  cpufreq: Add ondemand as a generic policy
  cpufreq: intel_pstate: Change powersave to ondemand policy
  cpufreq: intel_pstate: Add powersave policy support

 drivers/cpufreq/cpufreq.c      | 22 +++++++++++++-
 drivers/cpufreq/intel_pstate.c | 66 +++++++++++++++++++++++++++++++++---------
 include/linux/cpufreq.h        |  6 +++-
 3 files changed, 79 insertions(+), 15 deletions(-)

-- 
2.4.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-12-09 16:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-05  0:08 [PATCH 0/4] cpufreq governors and Intel P state driver compatibility Srinivas Pandruvada
2015-12-05  0:08 ` [PATCH 1/4] cpufreq: Add configurable generic policies Srinivas Pandruvada
2015-12-07  9:33   ` Viresh Kumar
2015-12-07 15:03     ` Srinivas Pandruvada
2015-12-05  0:08 ` [PATCH 2/4] cpufreq: Add ondemand as a generic policy Srinivas Pandruvada
2015-12-07  9:34   ` Viresh Kumar
2015-12-05  0:08 ` [PATCH 3/4] cpufreq: intel_pstate: Change powersave to ondemand policy Srinivas Pandruvada
2015-12-05  0:08 ` [PATCH 4/4] cpufreq: intel_pstate: Add powersave policy support Srinivas Pandruvada
2015-12-08 14:35 ` [PATCH 0/4] cpufreq governors and Intel P state driver compatibility Thomas Renninger
2015-12-08 17:43   ` Srinivas Pandruvada
2015-12-09 15:02     ` Thomas Renninger
2015-12-09 16:12       ` Srinivas Pandruvada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).