public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [PATCH] powerpc: Print corrupt r3 in FWNMI code
@ 2011-05-10 23:34 Anton Blanchard
  0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2011-05-10 23:34 UTC (permalink / raw)
  To: benh; +Cc: linuxppc-dev


I have a report of an FWNMI with an r3 value that we think is
corrupt, but since we don't print r3 we have no idea what was
wrong with it.

Signed-off-by: Anton Blanchard <anton@samba•org>
---

Index: linux-net/arch/powerpc/platforms/pseries/ras.c
===================================================================
--- linux-net.orig/arch/powerpc/platforms/pseries/ras.c	2011-05-11 09:26:16.646093026 +1000
+++ linux-net/arch/powerpc/platforms/pseries/ras.c	2011-05-11 09:26:49.836651728 +1000
@@ -227,7 +227,7 @@ static struct rtas_error_log *fwnmi_get_
 	struct rtas_error_log *h, *errhdr = NULL;
 
 	if (!VALID_FWNMI_BUFFER(regs->gpr[3])) {
-		printk(KERN_ERR "FWNMI: corrupt r3\n");
+		printk(KERN_ERR "FWNMI: corrupt r3 0x%016lx\n", regs->gpr[3]);
 		return NULL;
 	}
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-10 23:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 23:34 [PATCH] powerpc: Print corrupt r3 in FWNMI code Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox