arch/powerpc/sysdev/fsl_rio.c: correct IECSR register clear value
authorLiu Gang-B34182 <B34182@freescale.com>
Thu, 25 Aug 2011 22:59:25 +0000 (15:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:39:46 +0000 (11:39 -0700)
commit6d2e754003e789c6fb18de76d565a4cab83022a5
tree76f0d18741dec36b19f8eec328a51c9968978749
parentae0250b118d5b55392264accf72a0a3d658e0da9
arch/powerpc/sysdev/fsl_rio.c: correct IECSR register clear value

commit 671ee7f0ce62e4b991b47fcf1c161c3f710dabbc upstream.

This bug causes the IECSR register clear failure.  In this case, the RETE
(retry error threshold exceeded) interrupt will be generated and cannot be
cleared.  So the related ISR may be called persistently.

The RETE bit in IECSR is cleared by writing a 1 to it.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/sysdev/fsl_rio.c