Commit 2cff18c2 authored by Keith Mannthey's avatar Keith Mannthey Committed by Borislav Petkov

amd64_edac: simple fix to allow reporting of CECC errors

This allows the errors to be further decoded and mapped to csrows.
Tested with ECC debug dimms and an Rev F cpu based system.
Signed-off-by: default avatarKeith Mannthey <kmannth@us.ibm.com>
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 8edc5445
...@@ -1190,7 +1190,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, ...@@ -1190,7 +1190,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci,
* different from the node that detected the error. * different from the node that detected the error.
*/ */
src_mci = find_mc_by_sys_addr(mci, SystemAddress); src_mci = find_mc_by_sys_addr(mci, SystemAddress);
if (src_mci) { if (!src_mci) {
amd64_mc_printk(mci, KERN_ERR, amd64_mc_printk(mci, KERN_ERR,
"failed to map error address 0x%lx to a node\n", "failed to map error address 0x%lx to a node\n",
(unsigned long)SystemAddress); (unsigned long)SystemAddress);
......
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