Subject: Re: powerpc/powernv/mce: Don't silently restart the machine

From: Michael Ellerman <[email-masked]>
Date: Wed, 14 Mar 2018 20:28:45 +1100 (AEDT)

On Thu, 2018-03-08 at 00:36:06 UTC, Balbir Singh wrote:
> On MCE the current code will restart the machine with
> ppc_md.restart(). This case was extremely unlikely since
> prior to that a skiboot call is made and that resulted in
> a checkstop for analysis.
> 
> With newer skiboots, on P9 we don't checkstop the box by
> default, instead we return back to the kernel to extract
> useful information at the time of the MCE. While we still
> get this information, this patch converts the restart to
> a panic(), so that if configured a dump can be taken and
> we can track and probably debug the potential issue causing
> the MCE.
> 
> Signed-off-by: Balbir Singh <[email-masked]>
> Reviewed-by: Nicholas Piggin <[email-masked]>
> Reviewed-by: Stewart Smith <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/5ee573e8ef034e687c420cb1091137

cheers