]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/book3s: Fix MCE console messages for unrecoverable MCE.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tue, 9 Aug 2016 05:09:13 +0000 (10:39 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Aug 2016 09:46:54 +0000 (19:46 +1000)
commitc74dd88e77d3ecbc9e55c78796d82c9aa21cabad
treeddd20e160ff1bbe7fd405b62402d609b4403e89e
parent61e8a0d5a0270b91581f6c715036844b2ea98da1
powerpc/book3s: Fix MCE console messages for unrecoverable MCE.

When machine check occurs with MSR(RI=0), it means MC interrupt is
unrecoverable and kernel goes down to panic path. But the console
message still shows it as recovered. This patch fixes the MCE console
messages.

Fixes: 36df96f8acaf ("powerpc/book3s: Decode and save machine check event.")
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/mce.c
arch/powerpc/platforms/powernv/opal.c