Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676482

[PATCH] *** arm64: traps: disable irq in die() ***

From Qiao Zhou <qiaozhou@asrmicro.com>
Newsgroups linux.kernel
Subject [PATCH] *** arm64: traps: disable irq in die() ***
Date 2017-06-28 11:30 +0200
Message-ID <tXhsl-50j-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I met several cases that die() is interrupted once irq is unlocked, on
our platform which has multiple cpus, and enables panic_on_oops. It deadlock
in some schedule related code, and hard-lockup is triggered. So the first
criminal field is gone.

So I want to protect the whole flow of die() from irq, and let the panic
flow execute correctly. Not sure this patch is suitable or there is better
way to solve it. Please help to give some comments. Thanks in advance.

Qiao Zhou (1):
  arm64: traps: disable irq in die()

 arch/arm64/kernel/traps.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] *** arm64: traps: disable irq in die() *** Qiao Zhou <qiaozhou@asrmicro.com> - 2017-06-28 11:30 +0200

csiph-web