MCA recovery when Cache Check bit set
PATCH 1/1 MCA recovery when Cache Check bit set
Memory ECC errors on Montecito often result in the Cache Check bit in the Processor State Parameter being set. The current code will not attempt to recover if the Cache Check bit is set.
---------------------------------------------------------------------
arch/ia64/kernel/mca_drv.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
Index: linux-2.6.git#test/arch/ia64/kernel/mca_drv.c
=================================--- linux-2.6.git#test.orig/arch/ia64/kernel/mca_drv.c 2005-09-15 11:49:53.938504337 -0500
+++ linux-2.6.git#test/arch/ia64/kernel/mca_drv.c 2005-09-16 15:32:47.922041606 -0500
@@ -515,13 +515,14 @@ recover_from_processor_error(int platfor
pal_processor_state_info_t *psp = (pal_processor_state_info_t*)peidx_psp(peidx);
/*
- * We cannot recover errors with other than bus_check.
+ * We cannot recover from internal processor errors.
*/
- if (psp->cc || psp->rc || psp->uc) + if (psp->rc || psp->uc)
return 0;
/*
- * If there is no bus error, record is weird but we need not to recover.
+ * The bus check bit indicates the error is external, not an internal
+ * processor error. If there is no bus check, don't try to recover.
*/
if (psp->bc = 0 || pbci = NULL)
return 1;