[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1161491426.132128.1369321284187.JavaMail.root@gnuside.com>
Date: Thu, 23 May 2013 16:01:24 +0100 (BST)
From: Jérôme Arzel <jerome.arzel@...side.com>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Kumar Gala <galak@...nel.crashing.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] powerpc: wrong error message for e500
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@...side.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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists