]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Aug 2011 01:51:06 +0000 (18:51 -0700)
commitcf05614ebe9f59a9d9b49baa968de33151241e45
tree3f6d4343681051e5f68f17ab0068ccab0e834c96
parentc29c53f50c5c78037162c1dca24f5331c8b0573d
arch/powerpc/sysdev/fsl_rio.c: correct IECSR register clear value

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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/sysdev/fsl_rio.c