kernel-ark/arch/powerpc/platforms
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
..
8xx [POWERPC] 8xx/wrapper: Embedded Planet EP88xC support 2007-10-04 11:02:40 -05:00
40x [POWERPC] Virtex: Add generic Xilinx Virtex board support 2007-10-03 07:23:14 -05:00
44x [POWERPC] Fix bus probe on Bamboo board 2007-09-07 07:50:26 -05:00
52xx [POWERPC] clk.h interface for platforms 2007-10-03 09:11:56 +10:00
82xx [POWERPC] mpc82xx: Add pq2fads board support. 2007-10-04 11:02:47 -05:00
83xx [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
85xx [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
86xx [POWERPC] 85xx/86xx: refactor RSTCR reset code 2007-10-08 08:38:47 -05:00
cell Merge branch 'linux-2.6' into for-2.6.24 2007-10-03 15:33:17 +10:00
celleb [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
chrp [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
embedded6xx [POWERPC] Use for_each_ matching routinues for pci PHBs 2007-10-08 08:38:40 -05:00
iseries [POWERPC] Enable tickless idle and high res timers for powerpc 2007-10-03 15:44:34 +10:00
maple [POWERPC] maple pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
pasemi [POWERPC] Add workaround for MPICs with broken register reads 2007-09-14 01:33:25 +10:00
powermac [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
prep
ps3 [POWERPC] PS3: Enhance storage probe debug output 2007-09-14 01:33:26 +10:00
pseries Merge branch 'linux-2.6' into for-2.6.24 2007-10-03 15:33:17 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Add early debug console for CPM serial ports. 2007-10-03 20:35:43 -05:00
Kconfig.cputype [POWERPC] add Kconfig option for optimizing for cell 2007-09-22 14:49:22 +10:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00