• Alessandro Rubini's avatar
    bugfix: swfifo locking was racy · e5459f60
    Alessandro Rubini authored
    moreover, I was reading the hardware fifo both at interrupt level and
    at tasklet level.  The tasklet read-out is mandatory if we are using
    a timer instead of an interrupt (the timer is the tasklet function),
    but should be avoided if we have interrupts.
    
    Sometimes I got duplicate samples because the tasklet reading the
    hardware fifo was preempted by the interrupt handler.
    
    Now I can stamp 50kHz bursts withouth data loss, provided the zio
    buffer is big enough.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    e5459f60
Name
Last commit
Last update
NewLogger Loading commit data...
binaries Loading commit data...
doc Loading commit data...
fmc-bus @ f5c3b0ea
kernel Loading commit data...
lib Loading commit data...
sdb-lib Loading commit data...
tools Loading commit data...
zio @ 765ffa86
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README Loading commit data...