>> - 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

