From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:45734 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932371AbdDFHei (ORCPT ); Thu, 6 Apr 2017 03:34:38 -0400 Date: Thu, 6 Apr 2017 09:34:26 +0200 From: Greg KH To: Amit Pundir Cc: stable@vger.kernel.org, Felix Fietkau , linux-mips@linux-mips.org, James Hogan Subject: Re: [PATCH v2 for-4.9 04/32] MIPS: Lantiq: Fix cascaded IRQ setup Message-ID: <20170406073426.GG14752@kroah.com> References: <1491388344-13521-1-git-send-email-amit.pundir@linaro.org> <1491388344-13521-5-git-send-email-amit.pundir@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1491388344-13521-5-git-send-email-amit.pundir@linaro.org> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Apr 05, 2017 at 04:01:56PM +0530, Amit Pundir wrote: > From: Felix Fietkau > > 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 > Acked-by: John Crispin > 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 > > (cherry picked from commit 6c356eda225e3ee134ed4176b9ae3a76f793f4dd) > Signed-off-by: Amit Pundir > --- > arch/mips/lantiq/irq.c | 38 +++++++++++++++++--------------------- > 1 file changed, 17 insertions(+), 21 deletions(-) Also works for 4.4 and 4.10-stable... greg k-h