提交 c69e3758 编写于 作者: T Thomas Gleixner

genirq: Fixup fasteoi handler for oneshot mode

The fasteoi handler must mask the interrupt line in oneshot mode
otherwise we end up with an irq storm.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 8d32a307
...@@ -513,6 +513,10 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc) ...@@ -513,6 +513,10 @@ handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc)
mask_irq(desc); mask_irq(desc);
goto out; goto out;
} }
if (desc->istate & IRQS_ONESHOT)
mask_irq(desc);
preflow_handler(desc); preflow_handler(desc);
handle_irq_event(desc); handle_irq_event(desc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册