Re: [RFC PATCH 2/9] powerpc: handle machine check in Linux host.

2013-08-08 Thread Benjamin Herrenschmidt
On Thu, 2013-08-08 at 18:49 +0530, Mahesh Jagannath Salgaonkar wrote: > But, I think I should depend on > evt->disposition==MCE_DISPOSITION_RECOVERED and not play with MSR_RI > and > SRR1. I will fix my code. If MSR:RI is 0, then you have clobbered SRR0/SRR1 beyond repair and probably cannot recov

Re: [RFC PATCH 2/9] powerpc: handle machine check in Linux host.

2013-08-08 Thread Mahesh Jagannath Salgaonkar
On 08/08/2013 10:21 AM, Paul Mackerras wrote: > On Wed, Aug 07, 2013 at 03:08:15PM +0530, Mahesh J Salgaonkar wrote: >> From: Mahesh Salgaonkar >> >> Move machine check entry point into Linux. So far we were dependent on >> firmware to decode MCE error details and handover the high level info to O

Re: [RFC PATCH 2/9] powerpc: handle machine check in Linux host.

2013-08-07 Thread Paul Mackerras
On Wed, Aug 07, 2013 at 03:08:15PM +0530, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > Move machine check entry point into Linux. So far we were dependent on > firmware to decode MCE error details and handover the high level info to OS. > > This patch introduces early machine check r

Re: [RFC PATCH 2/9] powerpc: handle machine check in Linux host.

2013-08-07 Thread Anshuman Khandual
On 08/07/2013 03:08 PM, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > Move machine check entry point into Linux. So far we were dependent on > firmware to decode MCE error details and handover the high level info to OS. > > This patch introduces early machine check routine that saves

[RFC PATCH 2/9] powerpc: handle machine check in Linux host.

2013-08-07 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar Move machine check entry point into Linux. So far we were dependent on firmware to decode MCE error details and handover the high level info to OS. This patch introduces early machine check routine that saves the MCE information (srr1, srr0, dar and dsisr) to the emergenc