linux-uconsole/kernel/time
Thomas Gleixner f3d155634f clockevents: Prevent oneshot mode when broadcast device is periodic
commit 3a142a0672 upstream.

When the per cpu timer is marked CLOCK_EVT_FEAT_C3STOP, then we only
can switch into oneshot mode, when the backup broadcast device
supports oneshot mode as well. Otherwise we would try to switch the
broadcast device into an unsupported mode unconditionally. This went
unnoticed so far as the current available broadcast devices support
oneshot mode. Seth unearthed this problem while debugging and working
around an hpet related BIOS wreckage.

Add the necessary check to tick_is_oneshot_available().

Reported-and-tested-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <alpine.LFD.2.00.1102252231200.2701@localhost6.localdomain6>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-07 15:17:54 -08:00
..
clockevents.c clockevents: Add missing include to pacify sparse 2010-01-28 15:00:24 -08:00
clocksource.c timekeeping: Prevent oops when GENERIC_TIME=n 2010-04-01 15:58:06 -07:00
jiffies.c clocksource: Cleanup clocksource selection 2009-08-15 10:55:46 +02:00
Kconfig Kconfig: eliminate "def_bool n" constructs 2008-10-16 11:21:31 -07:00
Makefile time: add function to convert between calendar time and broken-down time for universal use 2009-09-24 07:20:56 -07:00
ntp.c timekeeping: Introduce timekeeping_leap_insert 2009-08-15 10:55:45 +02:00
tick-broadcast.c clockevents: Prevent oneshot mode when broadcast device is periodic 2011-03-07 15:17:54 -08:00
tick-common.c clockevents: Prevent oneshot mode when broadcast device is periodic 2011-03-07 15:17:54 -08:00
tick-internal.h clockevents: Prevent oneshot mode when broadcast device is periodic 2011-03-07 15:17:54 -08:00
tick-oneshot.c clocksource: prevent selection of low resolution clocksourse also for nohz=on 2009-06-13 12:00:26 +02:00
tick-sched.c nohz: Reuse ktime in sub-functions of tick_check_idle. 2010-08-13 13:20:13 -07:00
timecompare.c timecompare: generic infrastructure to map between two time bases 2009-02-15 22:43:32 -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: Fix clock_gettime vsyscall time warp 2010-08-13 13:20:13 -07:00
timer_list.c hrtimer: Tune hrtimer_interrupt hang logic 2010-04-01 15:58:14 -07:00
timer_stats.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00