Re: [PATCH] powerpc/traps: fix recoverability of machine check handling on book3s/32

From: Nicholas Piggin
Date: Wed Jan 23 2019 - 03:56:40 EST


Christophe Leroy's on January 23, 2019 12:11 am:
> 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.

Oh good catch, this is a fix for powerpc/64 as well. I think actually
the panic was supposed to go in the bail: path, it's missing from
there.

But you may have a point, I don't know if we need to panic the box if
we have !RI in process context... Possible we might be able to remove
those panics and just turn them into die.

Thanks,
Nick