]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
MIPS: Lantiq: Fix cascaded IRQ setup
authorFelix Fietkau <nbd@nbd.name>
Thu, 19 Jan 2017 11:28:22 +0000 (12:28 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:11:49 +0000 (10:11 +0200)
commite7410635f9c61c147efed4e526e6aeb5b1fdd690
tree06a034a9372a7175a8d77a893c42f44861fe75a6
parent46c5845e751591dcbaa4f554af4e1109cbcbcfa9
MIPS: Lantiq: Fix cascaded IRQ setup

BugLink: http://bugs.launchpad.net/bugs/1681875
commit 6c356eda225e3ee134ed4176b9ae3a76f793f4dd upstream.

With the IRQ stack changes integrated, the XRX200 devices started
emitting a constant stream of kernel messages like this:

[  565.415310] Spurious IRQ: CAUSE=0x1100c300

This is caused by IP0 getting handled by plat_irq_dispatch() rather than
its vectored interrupt handler, which is fixed by commit de856416e714
("MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch").

Fix plat_irq_dispatch() to handle non-vectored IPI interrupts correctly
by setting up IP2-6 as proper chained IRQ handlers and calling do_IRQ
for all MIPS CPU interrupts.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15077/
[james.hogan@imgtec.com: tweaked commit message]
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/mips/lantiq/irq.c