]> 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)
commit66de522dd9d9453240f4e7bd62e01b652206868f
tree3f6d4343681051e5f68f17ab0068ccab0e834c96
parent925917c4899e8eace159f0dca2638d81c5541120
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