linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powernv/hmi: Display the correct error info for CAPP errors.
@ 2016-11-16  5:28 Mahesh J Salgaonkar
  2017-02-09 13:17 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Mahesh J Salgaonkar @ 2016-11-16  5:28 UTC (permalink / raw)
  To: linuxppc-dev, Michael Ellerman; +Cc: Vaibhav Jain, Andrew Donnellan

From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>

On some CAPP errors we see console messages that prints unknown HMIs for
which CAPI recovery is in progress. This patch fixes this by printing
correct error info for HMI generated due to CAPP recovery.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tested-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
---
 arch/powerpc/platforms/powernv/opal-hmi.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/platforms/powernv/opal-hmi.c b/arch/powerpc/platforms/powernv/opal-hmi.c
index c0a8201..0d0d5f7 100644
--- a/arch/powerpc/platforms/powernv/opal-hmi.c
+++ b/arch/powerpc/platforms/powernv/opal-hmi.c
@@ -180,7 +180,8 @@ static void print_hmi_event_info(struct OpalHMIEvent *hmi_evt)
 		"An XSCOM operation completed",
 		"SCOM has set a reserved FIR bit to cause recovery",
 		"Debug trigger has set a reserved FIR bit to cause recovery",
-		"A hypervisor resource error occurred"
+		"A hypervisor resource error occurred",
+		"CAPP recovery process is in progress"
 	};
 
 	/* Print things out */

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

* Re: powernv/hmi: Display the correct error info for CAPP errors.
  2016-11-16  5:28 [PATCH] powernv/hmi: Display the correct error info for CAPP errors Mahesh J Salgaonkar
@ 2017-02-09 13:17 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2017-02-09 13:17 UTC (permalink / raw)
  To: Mahesh Salgaonkar, linuxppc-dev; +Cc: Vaibhav Jain, Andrew Donnellan

On Wed, 2016-11-16 at 05:28:02 UTC, Mahesh Salgaonkar wrote:
> From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
> 
> On some CAPP errors we see console messages that prints unknown HMIs for
> which CAPI recovery is in progress. This patch fixes this by printing
> correct error info for HMI generated due to CAPP recovery.
> 
> Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
> Tested-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/470a36a8c014e5cac7bb2df3829485

cheers

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

end of thread, other threads:[~2017-02-09 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16  5:28 [PATCH] powernv/hmi: Display the correct error info for CAPP errors Mahesh J Salgaonkar
2017-02-09 13:17 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).