• Mark Rutland's avatar
    clockevents: Don't allow dummy broadcast timers · a7dc19b8
    Mark Rutland authored
    Currently tick_check_broadcast_device doesn't reject clock_event_devices
    with CLOCK_EVT_FEAT_DUMMY, and may select them in preference to real
    hardware if they have a higher rating value. In this situation, the
    dummy timer is responsible for broadcasting to itself, and the core
    clockevents code may attempt to call non-existent callbacks for
    programming the dummy, eventually leading to a panic.
    
    This patch makes tick_check_broadcast_device always reject dummy timers,
    preventing this problem.
    Signed-off-by: 's avatarMark Rutland <mark.rutland@arm.com>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: Jon Medhurst (Tixy) <tixy@linaro.org>
    Cc: stable@vger.kernel.org
    Signed-off-by: 's avatarThomas Gleixner <tglx@linutronix.de>
    a7dc19b8
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
alarmtimer.c Loading commit data...
clockevents.c Loading commit data...
clocksource.c Loading commit data...
jiffies.c Loading commit data...
ntp.c Loading commit data...
posix-clock.c Loading commit data...
tick-broadcast.c Loading commit data...
tick-common.c Loading commit data...
tick-internal.h Loading commit data...
tick-oneshot.c Loading commit data...
tick-sched.c Loading commit data...
timeconv.c Loading commit data...
timekeeping.c Loading commit data...
timer_list.c Loading commit data...
timer_stats.c Loading commit data...