From: Russ Anderson Date: Fri, 3 Mar 2006 22:42:26 +0000 (-0600) Subject: [IA64] mca recovery return value when no bus check X-Git-Tag: upstream/snapshot3+hdmi~42441^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1c48554ae295de984eee83a7798e7fb394a1629;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [IA64] mca recovery return value when no bus check When there is no bus check, the return code should be failure, not success. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c index 53ffb06..e883d85 100644 --- a/arch/ia64/kernel/mca_drv.c +++ b/arch/ia64/kernel/mca_drv.c @@ -568,10 +568,15 @@ recover_from_processor_error(int platform, slidx_table_t *slidx, return 0; /* - * If there is no bus error, record is weird but we need not to recover. + * The cache check and bus check bits have four possible states + * cc bc + * 0 0 Weird record, not recovered + * 1 0 Cache error, not recovered + * 0 1 I/O error, attempt recovery + * 1 1 Memory error, attempt recovery */ if (psp->bc == 0 || pbci == NULL) - return 1; + return 0; /* * Sorry, we cannot handle so many.