]> git.baikalelectronics.ru Git - kernel.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)
commit9a668b812ab28f876826e47004e497550952c5c5
treeddd20e160ff1bbe7fd405b62402d609b4403e89e
parent341dd00dca661515c2bc77429b9029748dd43fa2
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: 4bf781b361ff ("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