linux-brain/arch/m68k
Finn Thain 4127249099 m68k: Call timer_interrupt() with interrupts disabled
[ Upstream commit 1efdd4bd25 ]

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-27 14:46:54 +01:00
..
68000 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
amiga m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
apollo License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atari m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
bvme6000 m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
coldfire m68k: set dma and coherent masks for platform FEC ethernets 2018-05-30 07:52:27 +02:00
configs m68k/defconfig: Update defconfigs for v4.13-rc1 2017-08-21 11:52:20 +02:00
emu net: Remove usage of net_device last_rx member 2017-01-18 17:22:49 -05:00
fpsp040 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hp300 m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
ifpsp060 scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
include m68k: fix "bad page state" oops on ColdFire boot 2018-08-24 13:09:11 +02:00
kernel m68k: fix command-line parsing when passed from u-boot 2019-12-01 09:13:24 +01:00
lib License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mac m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
math-emu m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
mm m68k/mm: Adjust VM area to be unmapped by gap size for __iounmap() 2018-07-03 11:24:46 +02:00
mvme16x m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
mvme147 m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
q40 m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
sun3 m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
sun3x m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
tools/amiga License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.bus License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.cpu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.devices License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.machine License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile m68k: Add -ffreestanding to CFLAGS 2019-03-23 14:35:21 +01:00
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00