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


Groups > linux.kernel > #1676482 > unrolled thread

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

Started byQiao Zhou <qiaozhou@asrmicro.com>
First post2017-06-28 11:30 +0200
Last post2017-06-28 11:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

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

FromQiao Zhou <qiaozhou@asrmicro.com>
Date2017-06-28 11:30 +0200
Subject[PATCH] *** arm64: traps: disable irq in die() ***
Message-ID<tXhsl-50j-17@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web