ARM: 9298/1: Drop custom mdesc->handle_irq()
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 May 2023 12:57:28 +0000 (13:57 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 19 Jun 2023 08:35:48 +0000 (09:35 +0100)
commit5bb578a0c1b86d6eb95f8d08ed6444b227fb674c
tree470a59cc2f4fd5ef227a10aa19f1791496ad7e89
parentac9a78681b921877518763ba0e89202254349d1b
ARM: 9298/1: Drop custom mdesc->handle_irq()

ARM exclusively uses GENERIC_IRQ_MULTI_HANDLER, so at some point
set_handle_irq() needs to be called to handle system-wide
interrupts.

For all DT-enabled boards, this call happens down in the
drivers/irqchip subsystem, after locating the target irqchip
driver from the device tree.

We still have a few instances of the boardfiles with machine
descriptors passing a machine-specific .handle_irq() to the
ARM kernel core.

Get rid of this by letting the few remaining machines consistently
call set_handle_irq() from the end of the .init_irq() callback
instead and diet down one member from the machine descriptor.

Cc: Marc Zyngier <maz@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
15 files changed:
arch/arm/include/asm/mach/arch.h
arch/arm/kernel/setup.c
arch/arm/mach-mxs/mach-mxs.c
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap1/irq.c
arch/arm/mach-pxa/gumstix.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/spitz.c
drivers/irqchip/irq-mxs.c
include/linux/irqchip/mxs.h [deleted file]