[lkml]   [2009]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [rtc-linux] Re: [PATCH] rtc: Make rtc_update_irq callable with irqs enabled
    On Fri, 24 Apr 2009 04:10:51 -0700
    David Brownell <> wrote:

    > >  use spin_lock() in the IRQ handler and spin_lock_irq/irq_save
    > >  in the setup functions.
    > I think you're describing how the *current* scheme is supposed
    > to work ... except that some IRQ handlers aren't calling the
    > rtc_update_irq() routine with IRQs blocked.
    > Yes, that current scheme works ... modulo those buggy handlers.

    ok, but why it's necessary to disable the interrupts? Only because
    the specs says so or because there's a locking issue I'm missing?


    Best regards,

    Alessandro Zummo,
    Tower Technologies - Torino, Italy

    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: 2009-04-24 13:17    [W:0.030 / U:1.848 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site