linux/arch/mips/cavium-octeon
Thomas Gleixner 56a86c352b MIPS: octeon: Replace the homebrewn flow handler
The gpio interrupt handling of octeon contains a homebrewn flow
handler which calls either handle_level_irq or handle_edge_irq
depending on the trigger type. Thats an extra conditional and call in
the interrupt handling path. The proper way to handle different types
and therefor different flows is to update the handler in the
irq_set_type() callback.

Remove the extra indirection and add the handler update to
octeon_irq_ciu_gpio_set_type(). At mapping time it defaults to
handle_level_irq which gets updated if the device tree contains a
different trigger type.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Daney <david.daney@cavium.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: linux-mips@linux-mips.org
Cc: LKML <linux-kernel@vger.kernel.org>
Patchwork: https://patchwork.linux-mips.org/patch/10704/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-08-26 15:23:32 +02:00
..
crypto Merge branch 'mvebu/drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc 2015-06-19 22:07:07 +08:00
executive MIPS: Octeon: Turn hardware bitfields and structures inside out. 2015-04-01 17:22:14 +02:00
Kconfig
Makefile of: clean-up unnecessary libfdt include paths 2015-06-04 20:16:47 -05:00
Platform
cpu.c
csrc-octeon.c
dma-octeon.c
flash_setup.c MIPS: Octeon: Don't set .owner. 2015-04-08 01:10:53 +02:00
oct_ilm.c
octeon-irq.c MIPS: octeon: Replace the homebrewn flow handler 2015-08-26 15:23:32 +02:00
octeon-memcpy.S
octeon-platform.c MIPS: Octeon: Set appropriate endianness in L2C registers 2015-04-01 17:22:14 +02:00
octeon_boot.h
setup.c MIPS: mark prom_free_prom_memory() everywhere with __init 2015-04-01 17:21:58 +02:00
smp.c MIPS: SMP: Don't increment irq_count multiple times for call function IPIs 2015-08-03 09:25:12 +02:00