]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: ixp4xx: Convert to MULTI_IRQ_HANDLER
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 29 Dec 2018 13:30:27 +0000 (14:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Apr 2019 18:37:34 +0000 (20:37 +0200)
commit98ac0cc270b717c49a49787fe7c42041123290bb
tree555cfeaa75f141a9b2a9d84f4a4508cce97235d1
parent64534e060dda5546e6e8b38b8a9422e84a7df84d
ARM: ixp4xx: Convert to MULTI_IRQ_HANDLER

This rewrites the IXP4xx to use MULTI_IRQ_HANDLER and
create an irqdomain for the irqchip in the platform. We
convert the timer to request the interrupt like any other
driver in the process.

We bump all IRQs to 16+offset to avoid using IRQ 0 and
set NR_IRQS to 512 (the default for most systems).
This conveniently fits with the first 16 IRQs being
pre-allocated when using SPARSE_IRQ.

This is a prerequisite for SPARSE_IRQ and DT boot.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/Kconfig
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-ixp4xx/include/mach/entry-macro.S [deleted file]
arch/arm/mach-ixp4xx/include/mach/irqs.h