All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Add printing of ES bit when cache error occurs.
@ 2013-10-07  9:25 ` Markos Chandras
  0 siblings, 0 replies; 5+ messages in thread
From: Markos Chandras @ 2013-10-07  9:25 UTC (permalink / raw)
  To: linux-mips; +Cc: Leonid Yegoshin

From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>

Print out the source of request that caused the error (ES bit) when
a cache error exception occurs.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Acked-by: Markos Chandras <markos.chandras@imgtec.com>
---
 arch/mips/kernel/traps.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 08aae2a..840bfcb 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -1421,9 +1421,10 @@ asmlinkage void cache_parity_error(void)
 	printk("Decoded c0_cacheerr: %s cache fault in %s reference.\n",
 	       reg_val & (1<<30) ? "secondary" : "primary",
 	       reg_val & (1<<31) ? "data" : "insn");
-	printk("Error bits: %s%s%s%s%s%s%s\n",
+	printk("Error bits: %s%s%s%s%s%s%s%s\n",
 	       reg_val & (1<<29) ? "ED " : "",
 	       reg_val & (1<<28) ? "ET " : "",
+	       reg_val & (1<<27) ? "ES " : "",
 	       reg_val & (1<<26) ? "EE " : "",
 	       reg_val & (1<<25) ? "EB " : "",
 	       reg_val & (1<<24) ? "EI " : "",
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-08  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07  9:25 [PATCH] MIPS: Add printing of ES bit when cache error occurs Markos Chandras
2013-10-07  9:25 ` Markos Chandras
2013-10-08  5:06 ` Ralf Baechle
2013-10-08  8:16   ` Markos Chandras
2013-10-08  8:16     ` Markos Chandras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.