[lkml]   [2010]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Threaded irq handler question
    On Wed, Apr 21, 2010 at 05:35:32PM +0100, Will Newton wrote:
    > Hi all,
    > My problem is that this structure does not work, because once I call
    > disable_irq_nosync() on the irq in the check handler the thread will
    > no longer run because the irq is disabled. However if I don't call
    > disable_irq_nosync() I will get endless irqs because the line is
    > level-triggered and will not be deasserted until the thread has run.
    > Could someone tell me what I'm doing wrong here?

    Does IRQF_ONESHOT meet your need?


     \ /
      Last update: 2010-04-22 03:39    [W:0.067 / U:2.356 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site