]> git.baikalelectronics.ru Git - kernel.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)
commit77702b32b63cfe79eeffc0d08f3ba11ebf4d3d21
tree555cfeaa75f141a9b2a9d84f4a4508cce97235d1
parent4a1d9e9da745382a61e5e2206bd092612e1d61e3
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