[patch] MCA recovery when Cache Check bit set

From: Russ Anderson <rja_at_efs.americas.sgi.com>
Date: 2005-09-17 07:10:53
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.  

Signed-off-by: Russ Anderson (rja@sgi.com)

---------------------------------------------------------------------
 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Sep 17 07:11:34 2005

This archive was generated by hypermail 2.1.8 : 2005-09-17 07:11:41 EST