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

Mahesh Jagannath Salgaonkar mahesh at linux.vnet.ibm.com
Thu Aug 4 18:57:24 AEST 2016


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.



More information about the Linuxppc-dev mailing list