[PATCH] powernv/hmi: Display the correct error info for CAPP errors.

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3466d REVIEWED: 1 (0M)

1 review trailer.

2 messages, 2 authors, 2017-02-09 · open the first message on its own page

[PATCH] powernv/hmi: Display the correct error info for CAPP errors.

From: Mahesh J Salgaonkar <hidden>
Date: 2016-11-16 05:28:13

From: Mahesh Salgaonkar <redacted>

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 <redacted>
Tested-by: Andrew Donnellan <redacted>
---
 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 */

Re: powernv/hmi: Display the correct error info for CAPP errors.

From: Michael Ellerman <hidden>
Date: 2017-02-09 13:17:49

On Wed, 2016-11-16 at 05:28:02 UTC, Mahesh Salgaonkar wrote:
From: Mahesh Salgaonkar <redacted>

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 <redacted>
Tested-by: Andrew Donnellan <redacted>
Applied to powerpc next, thanks.

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

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help