android_kernel_sony_msm8994/kernel/time
Steve Muckle c5c90f6099 sched: do not set window until sched_clock is fully initialized
The system initially uses a jiffy-based sched clock. When the platform
registers a new timer for sched_clock, sched_clock can jump backwards.
Once sched_clock_postinit() runs it should be safe to rely on it.

Also sched_clock_cpu() relies on completion of sched_clock_init()
and until that happens sched_clock_cpu() returns zero. This is used
in the irq accounting path which window-based stats relies upon.
So do not set window_start until sched_clock_cpu() is working.

Change-Id: Ided349de8f8554f80a027ace0f63ea52b1c38c68
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
2014-12-10 19:50:44 -08:00
..
alarmtimer.c rtc: alarm: set power_on_alarm again when calling alarmtimer_resume 2014-08-21 23:36:03 -07:00
clockevents.c time: Change the return type of clockevents_notify() to integer 2014-08-15 17:20:11 -07:00
clocksource.c clocksource: Extract max nsec calculation into separate function 2014-02-07 15:55:54 -08:00
jiffies.c time: Fix overflow when HZ is smaller than 60 2014-02-22 12:41:29 -08:00
Kconfig Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-05-15 14:05:17 -07:00
Makefile tick: Introduce hrtimer based broadcast 2014-08-15 11:46:52 -07:00
ntp_internal.h ntp: Rework do_adjtimex to take timespec and tai arguments 2013-04-04 13:18:15 -07:00
ntp.c ntp: Make periodic RTC update more reliable 2013-12-08 07:29:28 -08:00
posix-clock.c kernel: Fix files explicitly needing EXPORT_SYMBOL infrastructure 2011-10-31 19:30:05 -04:00
sched_clock.c sched: do not set window until sched_clock is fully initialized 2014-12-10 19:50:44 -08:00
tick-broadcast-hrtimer.c tick: Introduce hrtimer based broadcast 2014-08-15 11:46:52 -07:00
tick-broadcast.c time: Change the return type of clockevents_notify() to integer 2014-08-15 17:20:11 -07:00
tick-common.c clockevents: Move the tick_notify() switch case to clockevents_notify() 2014-08-15 11:46:56 -07:00
tick-internal.h time: Change the return type of clockevents_notify() to integer 2014-08-15 17:20:11 -07:00
tick-oneshot.c clockevents: Make minimum delay adjustments configurable 2011-09-08 11:10:56 +02:00
tick-sched.c sched: tighten up jiffy to sched_clock mapping 2014-11-19 15:06:33 -08:00
timeconv.c time: add function to convert between calendar time and broken-down time for universal use 2009-09-24 07:20:56 -07:00
timekeeping.c timekeeping: Avoid possible deadlock from clock_was_set_delayed 2014-02-13 13:48:04 -08:00
timer_list.c timer_list: correct the iterator for timer_list 2013-09-07 22:09:58 -07:00
timer_stats.c locking, timer_stats: Annotate table_lock as raw 2011-09-13 11:12:00 +02:00