• Thomas Gleixner's avatar
    clockevents: Prevent oneshot mode when broadcast device is periodic · 3a142a06
    Thomas Gleixner authored
    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: default avatarSeth Forshee <seth.forshee@canonical.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    LKML-Reference: <alpine.LFD.2.00.1102252231200.2701@localhost6.localdomain6>
    Cc: stable@kernel.org # .21 ->
    3a142a06
Name
Last commit
Last update
..
debug Loading commit data...
gcov Loading commit data...
irq Loading commit data...
power Loading commit data...
time Loading commit data...
trace Loading commit data...
.gitignore Loading commit data...
Kconfig.freezer Loading commit data...
Kconfig.hz Loading commit data...
Kconfig.locks Loading commit data...
Kconfig.preempt Loading commit data...
Makefile Loading commit data...
acct.c Loading commit data...
async.c Loading commit data...
audit.c Loading commit data...
audit.h Loading commit data...
audit_tree.c Loading commit data...
audit_watch.c Loading commit data...
auditfilter.c Loading commit data...
auditsc.c Loading commit data...
backtracetest.c Loading commit data...
bounds.c Loading commit data...
capability.c Loading commit data...
cgroup.c Loading commit data...
cgroup_freezer.c Loading commit data...
compat.c Loading commit data...
configs.c Loading commit data...
cpu.c Loading commit data...
cpuset.c Loading commit data...
cred.c Loading commit data...
delayacct.c Loading commit data...
dma.c Loading commit data...
elfcore.c Loading commit data...
exec_domain.c Loading commit data...
exit.c Loading commit data...
extable.c Loading commit data...
fork.c Loading commit data...
freezer.c Loading commit data...
futex.c Loading commit data...
futex_compat.c Loading commit data...
groups.c Loading commit data...
hrtimer.c Loading commit data...
hung_task.c Loading commit data...
hw_breakpoint.c Loading commit data...
irq_work.c Loading commit data...
itimer.c Loading commit data...
jump_label.c Loading commit data...
kallsyms.c Loading commit data...
kexec.c Loading commit data...
kfifo.c Loading commit data...
kmod.c Loading commit data...
kprobes.c Loading commit data...
ksysfs.c Loading commit data...
kthread.c Loading commit data...
latencytop.c Loading commit data...
lockdep.c Loading commit data...
lockdep_internals.h Loading commit data...
lockdep_proc.c Loading commit data...
lockdep_states.h Loading commit data...
module.c Loading commit data...
mutex-debug.c Loading commit data...
mutex-debug.h Loading commit data...
mutex.c Loading commit data...
mutex.h Loading commit data...
notifier.c Loading commit data...
ns_cgroup.c Loading commit data...
nsproxy.c Loading commit data...
padata.c Loading commit data...
panic.c Loading commit data...
params.c Loading commit data...
perf_event.c Loading commit data...
pid.c Loading commit data...
pid_namespace.c Loading commit data...
pm_qos_params.c Loading commit data...
posix-cpu-timers.c Loading commit data...
posix-timers.c Loading commit data...
printk.c Loading commit data...
profile.c Loading commit data...
ptrace.c Loading commit data...
range.c Loading commit data...
rcupdate.c Loading commit data...
rcutiny.c Loading commit data...
rcutiny_plugin.h Loading commit data...
rcutorture.c Loading commit data...
rcutree.c Loading commit data...
rcutree.h Loading commit data...
rcutree_plugin.h Loading commit data...
rcutree_trace.c Loading commit data...
relay.c Loading commit data...
res_counter.c Loading commit data...
resource.c Loading commit data...
rtmutex-debug.c Loading commit data...
rtmutex-debug.h Loading commit data...
rtmutex-tester.c Loading commit data...
rtmutex.c Loading commit data...
rtmutex.h Loading commit data...
rtmutex_common.h Loading commit data...
rwsem.c Loading commit data...
sched.c Loading commit data...
sched_autogroup.c Loading commit data...
sched_autogroup.h Loading commit data...
sched_clock.c Loading commit data...
sched_cpupri.c Loading commit data...
sched_cpupri.h Loading commit data...
sched_debug.c Loading commit data...
sched_fair.c Loading commit data...
sched_features.h Loading commit data...
sched_idletask.c Loading commit data...
sched_rt.c Loading commit data...
sched_stats.h Loading commit data...
sched_stoptask.c Loading commit data...
seccomp.c Loading commit data...
semaphore.c Loading commit data...
signal.c Loading commit data...
smp.c Loading commit data...
softirq.c Loading commit data...
spinlock.c Loading commit data...
srcu.c Loading commit data...
stacktrace.c Loading commit data...
stop_machine.c Loading commit data...
sys.c Loading commit data...
sys_ni.c Loading commit data...
sysctl.c Loading commit data...
sysctl_binary.c Loading commit data...
sysctl_check.c Loading commit data...
taskstats.c Loading commit data...
test_kprobes.c Loading commit data...
time.c Loading commit data...
timeconst.pl Loading commit data...
timer.c Loading commit data...
tracepoint.c Loading commit data...
tsacct.c Loading commit data...
uid16.c Loading commit data...
up.c Loading commit data...
user-return-notifier.c Loading commit data...
user.c Loading commit data...
user_namespace.c Loading commit data...
utsname.c Loading commit data...
utsname_sysctl.c Loading commit data...
wait.c Loading commit data...
watchdog.c Loading commit data...
workqueue.c Loading commit data...
workqueue_sched.h Loading commit data...