linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC V2 0/6] cpufreq: transition-latency cleanups
@ 2017-07-13  5:40 Viresh Kumar
  2017-07-13  5:40 ` [RFC V2 1/6] cpufreq: Replace "max_transition_latency" with "dynamic_switching" Viresh Kumar
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Viresh Kumar @ 2017-07-13  5:40 UTC (permalink / raw)
  To: Rafael Wysocki
  Cc: Viresh Kumar, linux-pm, Vincent Guittot, linux, Ingo Molnar,
	Jonathan Corbet, linux-doc, linux-kernel, Peter Zijlstra,
	Sudeep Holla

Hi Rafael,

Here is the V2 and sending it as RFC this time.

This series tries to cleanup the code around transition-latency and its
users.  Some of the old legacy code, which may not make much sense now,
is dropped as well.

Some code consolidation also done across governors.

Based of: pm/linux-next
Tested on: ARM64 Hikey board.

V1->V2:
- While we still get rid of the limitation of 10ms for using
  ondemand/conservative, but we preserve the earlier behavior where the
  transition latency set to CPUFREQ_ETERNAL would not allow use of
  ondemand/conservative governors. Thanks to Dominik for his feedback on
  that.

--
viresh

Viresh Kumar (6):
  cpufreq: Replace "max_transition_latency" with "dynamic_switching"
  cpufreq: schedutil: Set dynamic_switching to true
  cpufreq: governor: Drop min_sampling_rate
  cpufreq: Use transition_delay_us for legacy governors as well
  cpufreq: Cap the default transition delay value to 10 ms
  cpufreq: arm_big_little: Make ->get_transition_latency() mandatory

 Documentation/admin-guide/pm/cpufreq.rst |  8 -------
 drivers/cpufreq/arm_big_little.c         | 10 ++++-----
 drivers/cpufreq/cpufreq.c                |  8 +++----
 drivers/cpufreq/cpufreq_conservative.c   |  6 ------
 drivers/cpufreq/cpufreq_governor.c       | 17 ++-------------
 drivers/cpufreq/cpufreq_governor.h       |  3 +--
 drivers/cpufreq/cpufreq_ondemand.c       | 12 -----------
 include/linux/cpufreq.h                  | 36 ++++++++++++++++++++++++--------
 kernel/sched/cpufreq_schedutil.c         | 12 ++---------
 9 files changed, 40 insertions(+), 72 deletions(-)

-- 
2.13.0.71.gd7076ec9c9cb

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

end of thread, other threads:[~2017-07-17 12:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-13  5:40 [RFC V2 0/6] cpufreq: transition-latency cleanups Viresh Kumar
2017-07-13  5:40 ` [RFC V2 1/6] cpufreq: Replace "max_transition_latency" with "dynamic_switching" Viresh Kumar
2017-07-13 16:19   ` Rafael J. Wysocki
2017-07-14  7:01     ` Dominik Brodowski
2017-07-14 11:11       ` Rafael J. Wysocki
2017-07-14 22:06         ` Rafael J. Wysocki
2017-07-15  5:08           ` Dominik Brodowski
2017-07-15 12:26             ` Rafael J. Wysocki
2017-07-17 11:58               ` Viresh Kumar
2017-07-17 12:18                 ` Rafael J. Wysocki
2017-07-13  5:40 ` [RFC V2 2/6] cpufreq: schedutil: Set dynamic_switching to true Viresh Kumar
2017-07-13  5:40 ` [RFC V2 3/6] cpufreq: governor: Drop min_sampling_rate Viresh Kumar
2017-07-13  5:40 ` [RFC V2 4/6] cpufreq: Use transition_delay_us for legacy governors as well Viresh Kumar
2017-07-13 16:31   ` Rafael J. Wysocki
2017-07-13  5:40 ` [RFC V2 5/6] cpufreq: Cap the default transition delay value to 10 ms Viresh Kumar
2017-07-13  5:40 ` [RFC V2 6/6] cpufreq: arm_big_little: Make ->get_transition_latency() mandatory Viresh Kumar

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).