aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Baron <jbaron@akamai.com>2014-10-15 20:47:21 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-14 09:00:08 -0800
commit8baf4c7a557ba854dec9dcddf6784549bbc2a8eb (patch)
tree44f1ba5f05c171d22b081be477173bc58a41d630
parent91b9aca2a9d850619117861c9487a4b558e20083 (diff)
downloadlinux-yocto-8baf4c7a557ba854dec9dcddf6784549bbc2a8eb.tar.gz
linux-yocto-8baf4c7a557ba854dec9dcddf6784549bbc2a8eb.tar.bz2
linux-yocto-8baf4c7a557ba854dec9dcddf6784549bbc2a8eb.zip
i3200_edac: Report CE events properly
commit 8a3f075d6c9b3612b4a5fb2af8db82b38b20caf0 upstream. Fix CE event being reported as HW_EVENT_ERR_UNCORRECTED. Signed-off-by: Jason Baron <jbaron@akamai.com> Link: http://lkml.kernel.org/r/d02465b4f30314b390c12c061502eda5e9d29c52.1413405053.git.jbaron@akamai.com Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/edac/i3200_edac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/i3200_edac.c b/drivers/edac/i3200_edac.c
index fa1326e5a4b0..ad76f10865c6 100644
--- a/drivers/edac/i3200_edac.c
+++ b/drivers/edac/i3200_edac.c
@@ -242,11 +242,11 @@ static void i3200_process_error_info(struct mem_ctl_info *mci,
-1, -1,
"i3000 UE", "");
} else if (log & I3200_ECCERRLOG_CE) {
- edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1,
+ edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1,
0, 0, eccerrlog_syndrome(log),
eccerrlog_row(channel, log),
-1, -1,
- "i3000 UE", "");
+ "i3000 CE", "");
}
}
}