Bug: serial: 8250 dma rx callback locking error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Linux serial maintainers,

There appears to be a bug in 8250_dma.c where __dma_rx_complete is
passed to the dmaengine as the completion callback for rx dma.
__dma_rx_complete does not lock the port spinlock (since it is also
called in contexts where the lock is already held).  So a wrapper
around __dma_rx_complete which does lock the port spinlock should be
used as the completion callback instead.

--
Frank
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux