From: Qiao Zhou <qiaozhou@asrmicro.com>
To: <catalin.marinas@arm.com>, <will.deacon@arm.com>,
<mark.rutland@arm.com>, <suzuki.poulose@arm.com>,
<mingo@kernel.org>, <andre.przywara@arm.com>,
<marc.zyngier@arm.com>, <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <zhizhouzhang@asrmicro.com>
Cc: Qiao Zhou <qiaozhou@asrmicro.com>
Subject: [PATCH] *** arm64: traps: disable irq in die() ***
Date: Wed, 28 Jun 2017 17:04:11 +0800 [thread overview]
Message-ID: <1498640652-23338-1-git-send-email-qiaozhou@asrmicro.com> (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
next reply other threads:[~2017-06-28 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 9:04 Qiao Zhou [this message]
2017-06-28 9:04 ` [PATCH] arm64: traps: disable irq in die() Qiao Zhou
2017-07-04 17:17 ` Will Deacon
2017-07-05 3:16 ` qiaozhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1498640652-23338-1-git-send-email-qiaozhou@asrmicro.com \
--to=qiaozhou@asrmicro.com \
--cc=andre.przywara@arm.com \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=mingo@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=will.deacon@arm.com \
--cc=zhizhouzhang@asrmicro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®