summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-mxs.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-05-09 14:57:28 +0200
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-06-19 10:35:48 +0200
commit5bb578a0c1b86d6eb95f8d08ed6444b227fb674c (patch)
tree470a59cc2f4fd5ef227a10aa19f1791496ad7e89 /drivers/irqchip/irq-mxs.c
parentLinux 6.4-rc1 (diff)
downloadlinux-5bb578a0c1b86d6eb95f8d08ed6444b227fb674c.tar.xz
linux-5bb578a0c1b86d6eb95f8d08ed6444b227fb674c.zip
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>
Diffstat (limited to 'drivers/irqchip/irq-mxs.c')
-rw-r--r--drivers/irqchip/irq-mxs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c
index 55cb6b5a686e..be9680645545 100644
--- a/drivers/irqchip/irq-mxs.c
+++ b/drivers/irqchip/irq-mxs.c
@@ -201,6 +201,7 @@ static int __init icoll_of_init(struct device_node *np,
stmp_reset_block(icoll_priv.ctrl);
icoll_add_domain(np, ICOLL_NUM_IRQS);
+ set_handle_irq(icoll_handle_irq);
return 0;
}