All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] *** arm64: traps: disable irq in die() ***
@ 2017-06-28  9:04 ` Qiao Zhou
  0 siblings, 0 replies; 8+ messages in thread
From: Qiao Zhou @ 2017-06-28  9:04 UTC (permalink / raw)
  To: catalin.marinas, will.deacon, mark.rutland, suzuki.poulose,
	mingo, andre.przywara, marc.zyngier, linux-arm-kernel,
	linux-kernel, zhizhouzhang
  Cc: Qiao Zhou

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-07-05  3:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28  9:04 [PATCH] *** arm64: traps: disable irq in die() *** Qiao Zhou
2017-06-28  9:04 ` Qiao Zhou
2017-06-28  9:04 ` [PATCH] arm64: traps: disable irq in die() Qiao Zhou
2017-06-28  9:04   ` Qiao Zhou
2017-07-04 17:17   ` Will Deacon
2017-07-04 17:17     ` Will Deacon
2017-07-05  3:16     ` qiaozhou
2017-07-05  3:16       ` qiaozhou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.