linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/3] time/cpuidle: Support in tick broadcast framework in absence of external clock device
@ 2014-02-06  5:49 Preeti U Murthy
  2014-02-06  5:49 ` [PATCH V3 1/3] time: Change the return type of clockevents_notify() to integer Preeti U Murthy
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Preeti U Murthy @ 2014-02-06  5:49 UTC (permalink / raw)
  To: rafael.j.wysocki, linux-pm, peterz, fweisbec, daniel.lezcano,
	linux-kernel, paulus, benh, tglx, linuxppc-dev, mingo
  Cc: deepthi, paulmck, srivatsa.bhat

On some architectures, the local timers of CPUs stop in deep idle states.
They will need to depend on an external clock device to wake them up. However
certain implementations of archs do not have an external clock device.

This patchset provides support in the tick broadcast framework for such
architectures so as to enable the CPUs to get into deep idle.

Presently we are in need of this support on certain implementations of
PowerPC. This patchset has thus been tested on the same.

V1: https://lkml.org/lkml/2013/12/12/687.
V2: https://lkml.org/lkml/2014/1/24/28

Changes in V3:
1. Modified comments and code around programming of the broadcast hrtimer.

---

Preeti U Murthy (2):
      time: Change the return type of clockevents_notify() to integer
      time/cpuidle:Handle failed call to BROADCAST_ENTER on archs with CPUIDLE_FLAG_TIMER_STOP set

Thomas Gleixner (1):
      tick/cpuidle: Initialize hrtimer mode of broadcast


 drivers/cpuidle/cpuidle.c            |   38 +++++++-----
 include/linux/clockchips.h           |   15 ++++-
 kernel/time/Makefile                 |    2 -
 kernel/time/clockevents.c            |    8 ++-
 kernel/time/tick-broadcast-hrtimer.c |  105 ++++++++++++++++++++++++++++++++++
 kernel/time/tick-broadcast.c         |   51 ++++++++++++++++-
 kernel/time/tick-internal.h          |    6 +-
 7 files changed, 197 insertions(+), 28 deletions(-)
 create mode 100644 kernel/time/tick-broadcast-hrtimer.c

-- 

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

end of thread, other threads:[~2014-02-06 20:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06  5:49 [PATCH V3 0/3] time/cpuidle: Support in tick broadcast framework in absence of external clock device Preeti U Murthy
2014-02-06  5:49 ` [PATCH V3 1/3] time: Change the return type of clockevents_notify() to integer Preeti U Murthy
2014-02-06  5:50 ` [PATCH V3 2/3] tick/cpuidle: Initialize hrtimer mode of broadcast Preeti U Murthy
2014-02-06 16:03   ` Thomas Gleixner
2014-02-06 17:43     ` Preeti U Murthy
2014-02-06 20:52       ` Thomas Gleixner
2014-02-06  5:50 ` [PATCH V3 3/3] time/cpuidle:Handle failed call to BROADCAST_ENTER on archs with CPUIDLE_FLAG_TIMER_STOP set Preeti U Murthy
2014-02-06 12:50   ` Rafael J. Wysocki

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