[lkml]   [2003]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH to fix irq sharing and SA_INTERRUPT on x86. please review
James Harper <> wrote:
> further to my email yesterday (to which i've had no response :) i
> propose the attached patch to arch/i386/kernel/irq.c. it corrects what i
> see as a bug in interrupt handling.
> currently if a driver requests SA_INTERRUPT in an interrupt handler, it
> is only called with interrupts disabled if it is the first handler in
> the list.


> my patch modifies setup_irq to put any interrupt with SA_INTERRUPT in
> the front of the handler queue (eg before any handlers without the flag).
> and also modifies handle_IRQ_event to only enable interrupts when it
> hits the first handler with SA_INTERRUPT not set.

Yes, that's a nice fix, thanks.

Other architectures appear to have inherited this bug.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.116 / U:2.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site