[PATCH v2 3/3] powernv: Fix MCE handler to avoid trashing CR0/CR1 registers.

Michael Ellerman mpe at ellerman.id.au
Thu Aug 4 19:59:58 AEST 2016


Mahesh Jagannath Salgaonkar <mahesh at linux.vnet.ibm.com> writes:

> On 08/04/2016 09:44 AM, Stewart Smith wrote:
>> Mahesh J Salgaonkar <mahesh at linux.vnet.ibm.com> writes:
>>> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
>>>
>>> The current implementation of MCE early handling modifies CR0/1 registers
>>> without saving its old values. Fix this by moving early check for
>>> powersaving mode to machine_check_handle_early().
>> 
>> From (internal bug report) it seems as though in a test where one
>> injects continuous SLB Multi Hit errors, this bug could lead to rebooting
>> "due to to Platform error" rather than continuing to recover
>> successfully. It might be a good idea to mention that in commit message
>> here.
>
> This patch does not address the specific internal bug that you talking
> about. I am still chasing that bug.
> 
>> Also, should this go to stable?
>
> However yes. This should go to stable tree.

Can you please rebase it on to Linus' master.

cheers


More information about the Linuxppc-dev mailing list