Re: [PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-24 Thread Aravind Gopalakrishnan
On 2/24/2016 5:28 AM, Borislav Petkov wrote: On Tue, Feb 23, 2016 at 04:50:37PM -0600, Aravind Gopalakrishnan wrote: Sorry about that. Looks like this pair is not defined in spelling.txt. So, might be worth adding there as well? Oh geez, we have a spelling.txt! I think we can declare the kernel

Re: [PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-24 Thread Borislav Petkov
On Tue, Feb 23, 2016 at 04:50:37PM -0600, Aravind Gopalakrishnan wrote: > Sorry about that. Looks like this pair is not defined in spelling.txt. So, > might be worth adding there as well? Oh geez, we have a spelling.txt! I think we can declare the kernel as done and go do something else with our l

Re: [PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:37 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:08PM -0600, Aravind Gopalakrishnan wrote: /* AMD-specific bits */ #define MCI_STATUS_DEFERRED (1ULL<<44) /* declare an uncorrected error */ #define MCI_STATUS_POISON (1ULL<<43) /* access poisonous data */ +#

Re: [PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-23 Thread Borislav Petkov
On Tue, Feb 16, 2016 at 03:45:08PM -0600, Aravind Gopalakrishnan wrote: > For Scalable MCA enabled processors, errors are listed > per IP block. And since it is not required for an IP to > map to a particular bank, we need to use HWID and McaType > values from the MCx_IPID register to figure out wh

[PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-16 Thread Aravind Gopalakrishnan
For Scalable MCA enabled processors, errors are listed per IP block. And since it is not required for an IP to map to a particular bank, we need to use HWID and McaType values from the MCx_IPID register to figure out which IP a given bank represents. We also have a new bit (TCC) in the MCx_STATUS