Commit c69e3758 authored by Thomas Gleixner's avatar 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: default avatarThomas Gleixner <tglx@linutronix.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment