]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc/powernv: Display the correct error info for CAPP errors.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Wed, 16 Nov 2016 05:28:02 +0000 (10:58 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Feb 2017 23:31:36 +0000 (10:31 +1100)
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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-hmi.c

index c0a8201cb4d9bb7a57c381f412a0509e8bc01127..88f3c61eec9513887a681d3d0551006c61753b1b 100644 (file)
@@ -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 */