* [PATCH] powerpc: wrong error message for e500
[not found] <731282360.131628.1369320249704.JavaMail.root@gnuside.com>
@ 2013-05-23 15:01 ` Jérôme Arzel
0 siblings, 0 replies; only message in thread
From: Jérôme Arzel @ 2013-05-23 15:01 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Kumar Gala; +Cc: linux-kernel
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-23 15:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <731282360.131628.1369320249704.JavaMail.root@gnuside.com>
2013-05-23 15:01 ` [PATCH] powerpc: wrong error message for e500 Jérôme Arzel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox