exynos-linux-stable/arch/m68k/mvme16x
Finn Thain 064ce3a172 m68k: Call timer_interrupt() with interrupts disabled
[ Upstream commit 1efdd4bd254311498123a15fa0acd565f454da97 ]

Some platforms execute their timer handler with the interrupt priority
level set below 6. That means the handler could be interrupted by another
driver and this could lead to re-entry of the timer core.

Avoid this by use of local_irq_save/restore for timer interrupt dispatch.
This provides mutual exclusion around the timer interrupt flag access
which is needed later in this series for the clocksource conversion.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/alpine.DEB.2.21.1811131407120.2697@nanos.tec.linutronix.de
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-29 10:24:36 +01:00
..
config.c m68k: Call timer_interrupt() with interrupts disabled 2020-01-29 10:24:36 +01:00
Makefile m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c 2008-02-05 09:44:24 -08:00
rtc.c m68k/mvme16x: Include generic <linux/rtc.h> 2016-05-03 16:02:59 +02:00