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)
commit5be9fc23cdb42e1d383ecc8eae8a8ff70a752708
tree5213288c4c443e9e73bfcab346f1daa25ea77f83
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
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 5d6bed2a9c8b 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: a71b092a9c68 ("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