Re: [PATCH] x86/mce: Do not use bank 1 for APEI generated error logs.

From: Borislav Petkov
Date: Tue May 31 2016 - 14:09:17 EST


On Tue, May 31, 2016 at 05:11:45PM +0000, Luck, Tony wrote:
> Because that is DDR3/DDR4 "bank" (internal DIMM detail) as opposed
> to machine check "bank" (CPU microarchitecture detail). We need the
> latter here.

Ok, I see.

Btw, would it have any benefit of writing a "magic" value in m.bank
to denote the error comes from APEI instead of number of banks which
differs betweem generations?

Something like

m.bank = -1;

or so?

255 banks will never happen anyway! (Famous last words ... :-)))

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.