powerpc/powernv: display reason for Malfunction Alert HMI.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tue, 5 May 2015 08:04:58 +0000 (13:34 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Aug 2015 05:09:59 +0000 (15:09 +1000)
commitc33e11d0dd2ebd2cd528aa8e9ef46afdd4d766b0
tree79e435682e6f699040d8561f1d188137c6849326
parent5d83c2b37d435b88452bc88a2a47672346efb2b4
powerpc/powernv: display reason for Malfunction Alert HMI.

The V2 version of HMI event now carries additional information for
Malfunction Alert. It now contains error information about CORE and NX
checkstop. This patch checks and displays the check stop reason before
panic.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal-api.h
arch/powerpc/platforms/powernv/opal-hmi.c