Files
linux/arch
Qiao Zhou 99676f0cf1 arm64: traps: disable irq in die()
commit 6f44a0bacb 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>
2023-05-15 12:07:05 +09:00
..
2023-05-15 11:34:34 +09:00
2023-05-15 12:07:05 +09:00
2018-05-19 14:06:17 +02:00
2018-05-30 13:19:56 +02:00
2023-05-15 12:06:01 +09:00
2018-02-17 14:52:07 +01:00
2023-05-15 09:19:11 +09:00