From: "Jérôme Arzel" <jerome.arzel@gnuside.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Kumar Gala <galak@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] powerpc: wrong error message for e500
Date: Thu, 23 May 2013 16:01:24 +0100 (BST) [thread overview]
Message-ID: <1161491426.132128.1369321284187.JavaMail.root@gnuside.com> (raw)
In-Reply-To: <731282360.131628.1369320249704.JavaMail.root@gnuside.com>
If there is a bus error while machine check for e500,
the MCSR_BUS_WBERR error type prints a read error message
instead of a write error.
Signed-off-by: Jérôme Arzel <jerome.arzel@gnuside.com>
---
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -589,7 +589,7 @@ int machine_check_e500(struct pt_regs *r
if (reason & MCSR_BUS_RBERR)
printk("Bus - Read Data Bus Error\n");
if (reason & MCSR_BUS_WBERR)
- printk("Bus - Read Data Bus Error\n");
+ printk("Bus - Write Bus Error\n");
if (reason & MCSR_BUS_IPERR)
printk("Bus - Instruction Parity Error\n");
if (reason & MCSR_BUS_RPERR)
parent reply other threads:[~2013-05-23 15:20 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <731282360.131628.1369320249704.JavaMail.root@gnuside.com>]
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=1161491426.132128.1369321284187.JavaMail.root@gnuside.com \
--to=jerome.arzel@gnuside.com \
--cc=benh@kernel.crashing.org \
--cc=galak@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
/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