From: Yue Hu <zbestahu@gmail.com>
To: catalin.marinas@arm.com, will@kernel.org,
akpm@linux-foundation.org, mark.rutland@arm.com,
james.morse@arm.com, peterx@redhat.com
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, huyue2@yulong.com,
zbestahu@163.com
Subject: [PATCH] arm64: mm: add message to die() in die_kernel_fault()
Date: Thu, 30 Jul 2020 19:47:57 +0800 [thread overview]
Message-ID: <20200730114757.13592-1-zbestahu@gmail.com> (raw)
From: Yue Hu <huyue2@yulong.com>
Just to identify the kernel fault more clearly.
Signed-off-by: Yue Hu <huyue2@yulong.com>
---
arch/arm64/mm/fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c
index 8afb238..3a753c7 100644
--- a/arch/arm64/mm/fault.c
+++ b/arch/arm64/mm/fault.c
@@ -289,7 +289,7 @@ static void die_kernel_fault(const char *msg, unsigned long addr,
mem_abort_decode(esr);
show_pte(addr);
- die("Oops", regs, esr);
+ die("Oops - Page fault", regs, esr);
bust_spinlocks(0);
do_exit(SIGKILL);
}
--
1.9.1
next reply other threads:[~2020-07-30 11:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 11:47 Yue Hu [this message]
2020-07-30 12:27 ` [PATCH] arm64: mm: add message to die() in die_kernel_fault() Catalin Marinas
2020-07-30 13:00 ` Yue Hu
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=20200730114757.13592-1-zbestahu@gmail.com \
--to=zbestahu@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=catalin.marinas@arm.com \
--cc=huyue2@yulong.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=peterx@redhat.com \
--cc=will@kernel.org \
--cc=zbestahu@163.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