kernel-fxtec-pro1x/arch/blackfin/include/asm
Sonic Zhang 0f66e50af5 serial: bfin_5xx: split uart RX lock from uart port lock to avoid deadlock
The RX lock is used to protect the RX buffer from concurrent access in DMA
mode between the timer and RX interrupt routines.  It is independent from
the uart lock which is used to protect the TX buffer.  It is possible for
a uart TX transfer to be started up from the RX interrupt handler if low
latency is enabled.  So we need to split the locks to avoid deadlocking in
this situation.

In PIO mode, the RX lock is not necessary because the handle_simple_irq
and handle_level_irq functions ensure driver interrupt handlers are called
once on one core.

And now that the RX path has its own lock, the TX interrupt has nothing to
do with the RX path, so disabling it at the same time.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-03 14:44:54 -08:00
..
asm-offsets.h
atomic.h
auxvec.h
bfin-global.h
bfin-lq035q1.h
bfin5xx_spi.h
bfin_can.h
bfin_dma.h
bfin_ppi.h
bfin_rotary.h
bfin_sdh.h
bfin_serial.h
bfin_simple_timer.h
bfin_sport.h
bfin_twi.h
bfin_watchdog.h
bfrom.h
bitops.h
bitsperlong.h
blackfin.h
bug.h
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
cdef_LPBlackfin.h
checksum.h
clocks.h
context.S
cplb.h
cplbinit.h
cpu.h
cputime.h
current.h
def_LPBlackfin.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dpmc.h
early_printk.h
elf.h
emergency-restart.h
entry.h
errno.h
fb.h
fcntl.h
fixed_code.h
flat.h
ftrace.h
futex.h
gpio.h
gptimers.h
hardirq.h
hw_irq.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
ipipe.h
ipipe_base.h
irq.h
irq_handler.h
irq_regs.h
irqflags.h
Kbuild
kdebug.h
kgdb.h
kmap_types.h
l1layout.h
linkage.h
local.h
local64.h
mem_init.h
mem_map.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
nand.h
nmi.h
page.h
page_offset.h
param.h
pci.h
pda.h
percpu.h
pgalloc.h
pgtable.h
poll.h
portmux.h
posix_types.h
processor.h
pseudo_instructions.h
ptrace.h
reboot.h
resource.h
rwlock.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
swab.h
syscall.h
system.h
termbits.h
termios.h
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
topology.h
trace.h
traps.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
xor.h