public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba•org>
To: benh@kernel•crashing.org
Cc: linuxppc-dev@ozlabs•org
Subject: [PATCH] powerpc: Print corrupt r3 in FWNMI code
Date: Wed, 11 May 2011 09:34:03 +1000	[thread overview]
Message-ID: <20110511093403.1f4b2fc7@kryten> (raw)


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;
 	}
 

                 reply	other threads:[~2011-05-10 23:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110511093403.1f4b2fc7@kryten \
    --to=anton@samba$(echo .)org \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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