Re: [RFC PATCH 1/7] powerpc/book3s: Move machine check event structure to opal-api.h

2017-02-20 Thread Mahesh Jagannath Salgaonkar
On 02/21/2017 08:05 AM, Nicholas Piggin wrote: > On Tue, 21 Feb 2017 07:21:56 +0530 > Mahesh J Salgaonkar wrote: > >> +enum MCE_TlbErrorType { >> +MCE_TLB_ERROR_INDETERMINATE = 0, >> +MCE_TLB_ERROR_PARITY = 1, >> +MCE_TLB_ERROR_MULTIHIT = 2, >> +MCE_TLB_ERROR_TLBIEL_PROG_ERROR = 3

Re: [RFC PATCH 1/7] powerpc/book3s: Move machine check event structure to opal-api.h

2017-02-20 Thread Nicholas Piggin
On Tue, 21 Feb 2017 07:21:56 +0530 Mahesh J Salgaonkar wrote: > +enum MCE_TlbErrorType { > + MCE_TLB_ERROR_INDETERMINATE = 0, > + MCE_TLB_ERROR_PARITY = 1, > + MCE_TLB_ERROR_MULTIHIT = 2, > + MCE_TLB_ERROR_TLBIEL_PROG_ERROR = 3, > +}; The new TLBIE error isn't really a TLB error

[RFC PATCH 1/7] powerpc/book3s: Move machine check event structure to opal-api.h

2017-02-20 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar Going forward from Power9, linux would take firmware's (OPAL) help to exract MCE error reason. OPAL will now handle all chip specific processing to extract the error reason and send high level information through this machine check event structure. Hence this structure is