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

From: Luck, Tony
Date: Tue May 31 2016 - 13:12:06 EST


>> - m.bank = 1;
>> + m.bank = mca_cfg.banks;
>
> There's struct cper_sec_mem_err.bank. Why aren't we copying that?

Because that is DDR3/DDR4 "bank" (internal DIMM detail) as opposed to machine check "bank"
(CPU microarchitecture detail). We need the latter here.

-Tony