lkml.org 
[lkml]   [2012]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [dmaengine] [Q] jiffies value does not increase in dma_sync_wait()
From
Hi Russell,

On 3 February 2012 10:10, Russell King - ARM Linux
<linux@arm.linux.org.uk> wrote:
> On Fri, Feb 03, 2012 at 09:37:48AM +0100, javier Martin wrote:
>> I've introduced a couple of printk() to check why this timeout is not
>> triggered and I've found that the value of jiffies does not increase
>> between loop iterations (i. e. it's like time didn't advance).
>>
>> Does anyobody know what reasons could make jiffies not being updated?
>
> Are interrupts disabled?

Apparently not but, how could I check it for sure? Is
"irqs_disabled()" suitable for that purpose?

http://lxr.linux.no/#linux+v3.2.2/include/linux/irqflags.h#L120

--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com


\
 
 \ /
  Last update: 2012-02-03 10:25    [W:0.037 / U:3.132 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site