]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: orion5x: fix legacy orion5x IRQ numbers
authorBenjamin Cama <benoar@dolka.fr>
Tue, 14 Jul 2015 14:25:58 +0000 (16:25 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 21 Aug 2015 15:33:08 +0000 (17:33 +0200)
commit2458d64e6c6bf293571bafe222347a93625c662c
tree5213288c4c443e9e73bfcab346f1daa25ea77f83
parent0c9e0229f3c4e023815b9350b2095fd8ad5809e3
ARM: orion5x: fix legacy orion5x IRQ numbers

Since v3.18, attempts to deliver IRQ0 are rejected, breaking orion5x.
Fix this by increasing all interrupts by one, as did 425a3d9b770a for
dove. Also, force MULTI_IRQ_HANDLER for all orion platforms (including
dove) as the specific handler is needed to shift back IRQ numbers by
one.

[gregory.clement@free-electrons.com]: moved the select
MULTI_IRQ_HANDLER from PLAT_ORION_LEGACY to ARCH_ORION5X as it broke
the build for dove.

Fixes: 4aab04b73bd2 ("ARM: Convert handle_IRQ to use __handle_domain_irq")
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: <stable@vger.kernel.org>
Tested-by: Detlef Vollmann <dv@vollmann.ch>
arch/arm/Kconfig
arch/arm/mach-orion5x/include/mach/irqs.h
arch/arm/mach-orion5x/irq.c