kernel-ark/arch/powerpc/platforms/83xx
Anton Vorontsov cccd21027c [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading
set_irq_chained_handler overwrites MPIC's handle_irq function
(handle_fasteoi_irq) thus MPIC never gets eoi event from the
cascaded IRQ. This situation hangs MPIC on MPC8568E.

To solve this problem efficiently, QEIC needs pluggable handlers,
specific to the underlaying interrupt controller.

Patch extends qe_ic_init() function to accept low and high interrupt
handlers. To avoid #ifdefs, stack of interrupt handlers specified in
the header file and functions are marked 'static inline', thus
handlers are compiled-in only if actually used (in the board file).
Another option would be to lookup for parent controller and
automatically detect handlers (will waste text size because of
never used handlers, so this option abolished).

qe_ic_init() also changed in regard to support multiplexed high/low
lines as found in MPC8568E-MDS, plus qe_ic_cascade_muxed_mpic()
handler implemented appropriately.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-10-08 08:38:57 -05:00
..
Kconfig
Makefile
misc.c
mpc83xx.h [POWERPC] 83xx: Removed PCI exclude of PHB 2007-09-14 08:53:26 -05:00
mpc832x_mds.c [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
mpc832x_rdb.c [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
mpc834x_itx.c [POWERPC] Use for_each_ matching routinues for pci PHBs 2007-10-08 08:38:40 -05:00
mpc834x_mds.c [POWERPC] Use for_each_ matching routinues for pci PHBs 2007-10-08 08:38:40 -05:00
mpc836x_mds.c [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
mpc8313_rdb.c [POWERPC] Use for_each_ matching routinues for pci PHBs 2007-10-08 08:38:40 -05:00
pci.c [POWERPC] 83xx: Removed PCI exclude of PHB 2007-09-14 08:53:26 -05:00
usb.c [POWERPC] Fix mpc834x USB-MPH configuration. 2007-09-28 10:26:35 -05:00