Skip to content

Commit 42f8f9b

Browse files
committed
Merge tag 'edac_urgent_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras
Pull EDAC fix from Borislav Petkov: "A single fix for amd64_edac restoring the reporting of the DRAM scrub rate on family 0x15 CPUs" * tag 'edac_urgent_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras: EDAC/amd64: Read back the scrub rate PCI register on F15h
2 parents f05baa0 + ee470bb commit 42f8f9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/edac/amd64_edac.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ static int get_scrub_rate(struct mem_ctl_info *mci)
269269

270270
if (pvt->model == 0x60)
271271
amd64_read_pci_cfg(pvt->F2, F15H_M60H_SCRCTRL, &scrubval);
272+
else
273+
amd64_read_pci_cfg(pvt->F3, SCRCTRL, &scrubval);
272274
} else {
273275
amd64_read_pci_cfg(pvt->F3, SCRCTRL, &scrubval);
274276
}

0 commit comments

Comments
 (0)