Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826AbdGERlO (ORCPT ); Wed, 5 Jul 2017 13:41:14 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35044 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750896AbdGERlN (ORCPT ); Wed, 5 Jul 2017 13:41:13 -0400 From: jrjang@gmail.com X-Google-Original-From: jrajng@gmail.com Cc: jrjang@gmail.com, Thomas Gleixner , Jason Cooper , Marc Zyngier , linux-kernel@vger.kernel.org Subject: [PATCH] irqchip/mips-gic: Add missing shared interrupt handler Date: Thu, 6 Jul 2017 01:41:05 +0800 Message-Id: <20170705174105.30273-1-jrajng@gmail.com> X-Mailer: git-send-email 2.13.2 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 25 From: Jun-Ru Chang Set handle_level_irq handler for shared interrupts to avoid hanging with "unexpected IRQ" messages display. Change-Id: I6b9c0e8a13b28361f2daf89609f48cbdd397eb36 Signed-off-by: Jun-Ru Chang --- drivers/irqchip/irq-mips-gic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c index 929f8558bf1c..0a5fb30deb17 100644 --- a/drivers/irqchip/irq-mips-gic.c +++ b/drivers/irqchip/irq-mips-gic.c @@ -716,6 +716,7 @@ static int gic_irq_domain_map(struct irq_domain *d, unsigned int virq, if (err) return err; + irq_set_handler(virq, handle_level_irq); return gic_shared_irq_domain_map(d, virq, hwirq, 0); } -- 2.13.2