android_kernel_samsung_a7y1.../arch/arm64
Qiao Zhou f4dc508d29 arm64: traps: disable irq in die()
commit 6f44a0bacb79a03972c83759711832b382b1b8ac upstream.

In current die(), the irq is disabled for __die() handle, not
including the possible panic() handling. Since the log in __die()
can take several hundreds ms, new irq might come and interrupt
current die().

If the process calling die() holds some critical resource, and some
other process scheduled later also needs it, then it would deadlock.
The first panic will not be executed.

So here disable irq for the whole flow of die().

Signed-off-by: Qiao Zhou <qiaozhou@asrmicro.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 11:36:09 +02:00
..
boot dts: remove dm-verity 2020-04-04 16:47:07 +05:30
configs defcon: NEVER_ENFORCE 2020-04-05 19:34:03 +05:30
crypto A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
include A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kernel arm64: traps: disable irq in die() 2020-04-06 11:36:09 +02:00
kvm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-exynos Introduce Exynos dtbtool to the Linux build system 2020-03-27 22:20:07 +05:30
mm arm64: mm: Add trace_irqflags annotations to do_debug_exception() 2020-04-06 14:41:14 +05:30
net A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xen A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig Introduce Exynos dtbtool to the Linux build system 2020-03-27 22:20:07 +05:30
Kconfig.debug A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.platforms A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile Introduce Exynos dtbtool to the Linux build system 2020-03-27 22:20:07 +05:30