Skip to content

time/cpuidle: Support in tick broadcast framework in absence of external clock device

Preeti U Murthy linux-pm linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesIn review
  2. v33 patches 4 repliesSuperseded
  3. v22 patches 6 repliesSuperseded

Changes in v4 from the cover letter

1. Cleared the stand by CPU from the oneshot mask. As a result PATCH 3/3 was simplified.
2. Fixed compile time warnings.
---

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3time: Change the return type of clockevents_notify() to integerinclude/linux/clockchips.h kernel/time/clockevents.c kernel/time/tick-broadcast.c +1 more+15 -110 replies
2/3tick/cpuidle: Initialize hrtimer mode of broadcastinclude/linux/clockchips.h kernel/time/Makefile kernel/time/tick-broadcast-hrtimer.c +1 more+166 -45 replies
3/3time/cpuidle:Handle failed call to BROADCAST_ENTER on archs with CPUIDLE_FLAG_TIMER_STOP setdrivers/cpuidle/cpuidle.c+8 -61 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRafael J. Wysocki
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/3] time/cpuidle: Support in tick broadcast framework in absence of 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.

This patchset has been based on the idea discussed here:
http://www.kernelhub.org/?p=2&msg=399516

Changes in V4:
1. Cleared the stand by CPU from the oneshot mask. As a result PATCH 3/3 was simplified.
2. Fixed compile time warnings.
---

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            |   14 +++--
 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         |   60 ++++++++++++++++++-
 kernel/time/tick-internal.h          |    6 +-
 7 files changed, 189 insertions(+), 21 deletions(-)
 create mode 100644 kernel/time/tick-broadcast-hrtimer.c