aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-08-27 00:46:57 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-30 14:56:49 -0300
commit86002324cf8809c72858741ab20bb7a855654b4c (patch)
treecc4f7ada60eb29150b63b7d3515ee13cc8721d10 /drivers/edac
parent5de6e07ed75ee29a302f50e149339ca747131121 (diff)
downloadkernel_samsung_smdk4412-86002324cf8809c72858741ab20bb7a855654b4c.zip
kernel_samsung_smdk4412-86002324cf8809c72858741ab20bb7a855654b4c.tar.gz
kernel_samsung_smdk4412-86002324cf8809c72858741ab20bb7a855654b4c.tar.bz2
i7300_edac: Clear the error bit after reading
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i7300_edac.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c
index e617b4f..f2f171d 100644
--- a/drivers/edac/i7300_edac.c
+++ b/drivers/edac/i7300_edac.c
@@ -299,6 +299,11 @@ static void i7300_process_error_global(struct mem_ctl_info *mci,
ARRAY_SIZE(ferr_global_hi_name));
specific = GET_ERR_FROM_TABLE(ferr_global_hi_name, errnum);
is_fatal = ferr_global_hi_is_fatal(errnum);
+
+ /* Clear the error bit */
+ pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs,
+ FERR_GLOBAL_HI, value);
+
goto error_global;
}
@@ -310,6 +315,11 @@ static void i7300_process_error_global(struct mem_ctl_info *mci,
ARRAY_SIZE(ferr_global_lo_name));
specific = GET_ERR_FROM_TABLE(ferr_global_lo_name, errnum);
is_fatal = ferr_global_lo_is_fatal(errnum);
+
+ /* Clear the error bit */
+ pci_write_config_dword(pvt->pci_dev_16_2_fsb_err_regs,
+ FERR_GLOBAL_LO, value);
+
goto error_global;
}
return;