powerpc/powernv/mce: Print correct severity for MCE error.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Mon, 29 Apr 2019 18:15:55 +0000 (23:45 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 May 2019 12:22:51 +0000 (22:22 +1000)
commitcda6618d060b5e8afc93e691d4bcd987f3dd4393
tree0e46c9bfcbfc072447b278176b1704ea3648c45e
parentd6e8a150850601277039a548ffcdddd1bfe3e365
powerpc/powernv/mce: Print correct severity for MCE error.

Currently all machine check errors are printed as severe errors which
isn't correct. Print soft errors as warning instead of severe errors.

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