lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] irq: handle spurios irq detection for threaded irqs
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


\
 
 \ /
  Last update: 2011-05-31 12:37    [W:0.857 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site