OSDN Git Service

powerpc/fsl_rio: Error interrupt handler for sRIO on MPC85xx
authorShaohui Xie <b21989@freescale.com>
Thu, 18 Nov 2010 06:57:53 +0000 (14:57 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 20 May 2011 13:47:45 +0000 (08:47 -0500)
commit6ff31453161e8614e8ba3b360f8d883a27230e0c
tree1c54568b3fd0039ad9919f2b4d4ee6a7ec40544e
parentcce1f106c64dc1d19d5e9406320fde18dfc662df
powerpc/fsl_rio: Error interrupt handler for sRIO on MPC85xx

The sRIO controller reports errors to the core with one signal, it uses
register EPWISR to provides the core quick access to where the error
occurred.  The EPWISR indicates that there are 4 interrupts sources,
port1, port2, message unit and port write receive, but the sRIO driver
does not support port2 for now, still the handler takes care of port2.
Currently the handler only clear error status without any recovery.

Signed-off-by: Shaohui Xie <b21989@freescale.com>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <kumar.gala@freescale.com>
Cc: Roy Zang <tie-fei.zang@freescale.com>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_rio.c