]> 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)
commit232ada6ed98c6ab040d6cd5b2d898827c7038584
tree5213288c4c443e9e73bfcab346f1daa25ea77f83
parent7080a36663ec94f7ed976e9e162c15cc4a03bc56
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 750603cad391 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: b6d12fda904f ("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