[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1253239779.7263.111.camel@keith-laptop>
Date: Thu, 17 Sep 2009 19:09:39 -0700
From: Keith Mannthey <kmannth@...ibm.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: borislav.petkov@....com, dougthompson@...ssion.com
Subject: [Patch] AMD64_EDAC: simple fix to allow better report on ECE CE
errors
I tested 2.6.31 and the mainline amd64_edac driver. This is was the
first simple fix.
This allows the errors to be further decoded and mapped to csrows.
Tested with ECC debug dimms and an Rev F cpu based system.
Submitted-by: Keith Mannthey<kmannth@...ibm.com>
---
diff -urN linux-2.6.31/drivers/edac/amd64_edac.c linux-2.6.31-fixed/drivers/edac/amd64_edac.c
--- linux-2.6.31/drivers/edac/amd64_edac.c 2009-09-09 15:13:59.000000000 -0700
+++ linux-2.6.31-fixed/drivers/edac/amd64_edac.c 2009-09-17 22:32:09.000000000 -0700
@@ -1136,7 +1138,7 @@
* different from the node that detected the error.
*/
src_mci = find_mc_by_sys_addr(mci, SystemAddress);
- if (src_mci) {
+ if (!src_mci) {
amd64_mc_printk(mci, KERN_ERR,
"failed to map error address 0x%lx to a node\n",
(unsigned long)SystemAddress);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists