Re: [RFC PATCH 2/3] MCE, CE: Wire in the CE collector

2014-05-27 Thread Borislav Petkov
On Tue, May 27, 2014 at 10:48:38AM -0700, Tony Luck wrote: > > + } else if (c->x86_vendor == X86_VENDOR_INTEL) > > + return m->status & BIT(7); > > Intel compound error codes aren't quite that simple. You need to look > at the low 16 bits of "status" (the MCACOD) field and see

Re: [RFC PATCH 2/3] MCE, CE: Wire in the CE collector

2014-05-27 Thread Tony Luck
> + } else if (c->x86_vendor == X86_VENDOR_INTEL) > + return m->status & BIT(7); Intel compound error codes aren't quite that simple. You need to look at the low 16 bits of "status" (the MCACOD) field and see which is the most significant bit set (ignoring bit 12, the "filter"