• Thomas Gleixner's avatar
    genirq: Do not mask oneshot edge type interrupts · 4dbc9ca2
    Thomas Gleixner authored
    Masking oneshot edge type interrupts is wrong as we might lose an
    interrupt which is issued when the threaded handler is handling the
    device. We can keep the irq unmasked safely as with edge type
    interrupts there is no danger of interrupt floods. If the threaded
    handler has not yet finished then IRQTF_RUNTHREAD is set which will
    keep the handler thread active.
    
    Debugged and verified in preempt-rt.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    4dbc9ca2
chip.c 16.9 KB