stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix race in hrtimer broadcast and take care of dependencies
@ 2015-05-13 11:49 Preeti U Murthy
  2015-05-13 11:50 ` [PATCH1/5] clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD Preeti U Murthy
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Preeti U Murthy @ 2015-05-13 11:49 UTC (permalink / raw)
  To: gregkh, stable; +Cc: mingo, linux

The intention was to backport only PATCH[5/5]: clockevents: Fix
cpu_down() race for hrtimer based broadcasting,

but this depends on commits upstream which did cleanup and
reorganization of code. However these commits cannot be cherry-picked as
is. There are a few minor changes upstream and hence these commits had
to be backported too. Reasons for backports are given below:

1. PATCH[1/5]: The upstream commit introduced a duplicate function which
was removed much later by commit:

        9eed56e889d: clockevents: Clean up clockchips.h

We do not need to cherry-pick the entire above commit because the backport
was a simple one.

2. PATCH[3/5]: There are newer functions introduced upstream through

        554ef3876c6: clockevents: Handle tick device's resume separately

Yet again we did not need to cherry pick the entire above commit,
firstly because it introduces significant new code, secondly because the
backport was a simple one.

3. PATCH[4/5]: The function clockevent_set_mode() was renamed to
clockevent_set_state() upstream by commit:

        77e32c89a7: clockevents: Manage device's state separately for
                    the core

We do not need to cherry-pick this commit for the same reason as in (2).

This series needs to be applied on top of stable-4.0. A new series will
be sent out for stable-3.19.
---

Preeti U Murthy (1):
      clockevents: Fix cpu_down() race for hrtimer based broadcasting

Thomas Gleixner (4):
      clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD
      tick: Move clocksource related stuff to timekeeping.h
      tick: Simplify tick-internal.h
      tick: Move core only declarations and functions to core


 include/linux/clockchips.h   |   23 ++----
 include/linux/tick.h         |  138 ++++++-----------------------------
 kernel/cpu.c                 |    2 +
 kernel/time/Kconfig          |    6 --
 kernel/time/Makefile         |    6 +-
 kernel/time/clockevents.c    |    3 -
 kernel/time/hrtimer.c        |    2 -
 kernel/time/jiffies.c        |    2 -
 kernel/time/ntp.c            |    1 
 kernel/time/tick-broadcast.c |   19 +++--
 kernel/time/tick-internal.h  |  166 ++++++++++++++++--------------------------
 kernel/time/tick-sched.c     |    7 ++
 kernel/time/tick-sched.h     |   64 ++++++++++++++++
 kernel/time/timekeeping.h    |    7 ++
 kernel/time/timer_list.c     |    2 -
 15 files changed, 190 insertions(+), 258 deletions(-)
 create mode 100644 kernel/time/tick-sched.h

--


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

end of thread, other threads:[~2015-06-30  3:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 11:49 [PATCH 0/5] Fix race in hrtimer broadcast and take care of dependencies Preeti U Murthy
2015-05-13 11:50 ` [PATCH1/5] clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD Preeti U Murthy
2015-05-13 11:50 ` [PATCH2/5] tick: Move clocksource related stuff to timekeeping.h Preeti U Murthy
2015-05-13 11:50 ` [PATCH3/5] tick: Simplify tick-internal.h Preeti U Murthy
2015-06-29 22:49   ` Greg KH
2015-06-30  3:24     ` Preeti U Murthy
2015-05-13 11:50 ` [PATCH4/5] tick: Move core only declarations and functions to core Preeti U Murthy
2015-05-13 11:50 ` [PATCH5/5] clockevents: Fix cpu_down() race for hrtimer based broadcasting Preeti U Murthy
2015-06-18  8:06 ` [PATCH 0/5] Fix race in hrtimer broadcast and take care of dependencies Preeti U Murthy

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