powerpc/powernv: Invoke opal_cec_reboot2() on unrecoverable HMI.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tue, 4 Aug 2015 11:18:56 +0000 (16:48 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Aug 2015 05:10:19 +0000 (15:10 +1000)
commit62521ea6db1045a746d4625f40ef6be8b74f126d
treec6a8cf0e142684ae15f225299d771bd17a3de621
parente784b6499d9cba83b7f3f032b7ee01f7ca96ad91
powerpc/powernv: Invoke opal_cec_reboot2() on unrecoverable HMI.

Invoke new opal_cec_reboot2() call with reboot type
OPAL_REBOOT_PLATFORM_ERROR (for unrecoverable HMI interrupts) to inform
BMC/OCC about this error, so that BMC can collect relevant data for error
analysis and decide what component to de-configure before rebooting.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-hmi.c