]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/traps: fix recoverability of machine check handling on book3s/32
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 22 Jan 2019 14:11:24 +0000 (14:11 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:16 +0000 (00:10 +1100)
commit0981188d140b72d0cc15c3f95790a315d1fcfa53
tree30c9574ccc507dc9152aab6cefc8083da93f5703
parent03750ee53805f360ab14eb647e0b286c3bf77df1
powerpc/traps: fix recoverability of machine check handling on book3s/32

Looks like book3s/32 doesn't set RI on machine check, so
checking RI before calling die() will always be fatal
allthought this is not an issue in most cases.

Fixes: 08c198c964f7 ("powerpc: Machine check interrupt is a non-maskable interrupt")
Fixes: b2097b11d0f2 ("powerpc/traps: restore recoverability of machine_check interrupts")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c