When hold local_irq_save?

From: Binary (binary.chen_at_gmail.com)
Date: 09/20/05


Date: 20 Sep 2005 05:11:57 -0700

Hi,

I am curious about one snip code:
local_irq_save(flags);
interruptible_sleep_on(&omap_pm_sync);
local_irq_restore(flags);

Is it safe to sleep when hold local_irq_save? I think local_irq_save
will disable the interrupt.

Any idea? It is runnig for ARM.

Thanks.

Binary Chen



Relevant Pages

  • tricky challenge for getting round level-driven interrupt problem: help!
    ... ARM processor. ... this stupid hardware design - in order to make a RELIABLE, ... in on the ARM's 8-bit port. ... a "write" interrupt can be asserted to the ARM. ...
    (Linux-Kernel)
  • Re: tricky challenge for getting round level-driven interrupt problem: help!
    ... > Assuming you are using the core Linux IRQ code ... > So an implementation is much like a serial port fifo, ... that's connected to the ARM only has *one* interrupt. ...
    (Linux-Kernel)
  • [PATCH BK][ARM] Various ARM updates for 2.6.9
    ... This pull contains a set of ARM updates that have been pending in my ... specific to IOC/IOMD machines. ... IXP4xx and IXP2000 had params-phys when it should be params_phys ... The current timer interrupt implementation can cause time to skip ...
    (Linux-Kernel)
  • Re: location of CEs vector table
    ... CE only requires high-end interrupt vector table at virtual ... WindowsCE requires that the exception vectors for ARM be located at virtual ... If you're going to only support one address range, ...
    (microsoft.public.windowsce.platbuilder)
  • [ANNOUNCE] ARM integration into generic interrupt system
    ... During a lengthy discussion on arm-linux-kernel mailing list, ... integration of ARM into the generic interrupt layer would have to ... interrupt handling code to make adaption of Ingo's Realtime Preemption ... docs of the patch along with the documentation of the resulting API. ...
    (Linux-Kernel)