Re: [PATCH] 3.19-rc4: Fix race condition in i.MX serial port driver

2015-01-31 Thread Michael Doswald
On 31.01.2015 00:25, Greg KH wrote: >> Under pressure, the imx.c device driver may transfer the same data multiple >> times. >> >> Reason: >> Function imx_dma_tx checks for an active DMA transfer by calling >> dmaengine_tx_status. The return value may indicate that no transfer is >> running whil

Re: [PATCH] 3.19-rc4: Fix race condition in i.MX serial port driver

2015-01-30 Thread Greg KH
On Tue, Jan 13, 2015 at 05:07:08PM +0100, Michael Doswald wrote: > Under pressure, the imx.c device driver may transfer the same data multiple > times. > > Reason: > Function imx_dma_tx checks for an active DMA transfer by calling > dmaengine_tx_status. The return value may indicate that no tran

[PATCH] 3.19-rc4: Fix race condition in i.MX serial port driver

2015-01-13 Thread Michael Doswald
Under pressure, the imx.c device driver may transfer the same data multiple times. Reason: Function imx_dma_tx checks for an active DMA transfer by calling dmaengine_tx_status. The return value may indicate that no transfer is running while the dma_tx_callback function is still being executed.