Re: [PATCH 2/3] irq: handle spurios irq detection for threadedirqs

From: Thomas Gleixner
Date: Tue May 31 2011 - 06:35:22 EST


On Tue, 31 May 2011, Sebastian Andrzej Siewior wrote:
> raw_spin_unlock_irq(&desc->lock);
> - handler_fn(desc, action);
> + action_ret = handler_fn(desc, action);
> + if (!noirqdebug) {
> + raw_spin_lock_irq(&desc->lock);

Hmm. This will deadlock in __report_bad_irq().

> + note_interrupt(action->irq, desc, action_ret);
> + raw_spin_unlock_irq(&desc->lock);
> + }

Thanks,

tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/