Commit 4afcd2dc authored by Wan Wei's avatar Wan Wei Committed by Borislav Petkov

amd64_edac: read the right F2 maskoffset reg

Signed-off-by: default avatarWan Wei <onewayforever@gmail.com>
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 4be3bd78
......@@ -970,7 +970,7 @@ static void amd64_read_dct_base_mask(struct amd64_pvt *pvt)
}
for (cs = 0; cs < pvt->num_dcsm; cs++) {
reg = K8_DCSB0 + (cs * 4);
reg = K8_DCSM0 + (cs * 4);
err = pci_read_config_dword(pvt->dram_f2_ctl, reg,
&pvt->dcsm0[cs]);
if (unlikely(err))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment