mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/mips-gic: Add missing shared interrupt handler
@ 2017-07-05 17:41 jrjang
  2017-07-06  7:47 ` Thomas Gleixner
  0 siblings, 1 reply; 6+ messages in thread
From: jrjang @ 2017-07-05 17:41 UTC (permalink / raw)
  Cc: jrjang, Thomas Gleixner, Jason Cooper, Marc Zyngier, linux-kernel

From: Jun-Ru Chang <jrjang@gmail.com>

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 <jrjang@gmail.com>
---
 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-06 16:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 17:41 [PATCH] irqchip/mips-gic: Add missing shared interrupt handler jrjang
2017-07-06  7:47 ` Thomas Gleixner
2017-07-06  8:09   ` Jun-Ru Chang
2017-07-06  9:20   ` [PATCH v2] " jrjang
2017-07-06 12:03     ` Thomas Gleixner
2017-07-06 16:36       ` Paul Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®