Re: [PATCH dmaengine-fixes 1/1] dmaengine: read completed cookie before used cookie

2014-04-09 Thread Dan Williams
On Fri, Feb 14, 2014 at 3:32 PM, Siva Yerramreddy wrote: > When running dmatest with my yet-to-be submitted driver for the Intel MIC DMA > engine, dmatest detected "dma0chan3-copy5: result #8096161:completion busy > status with src_off=0x0 dst_off=0x0 len=0x40 (0)". This is caused by reading > the

Re: [PATCH dmaengine-fixes 1/1] dmaengine: read completed cookie before used cookie

2014-02-17 Thread Vinod Koul
On Fri, Feb 14, 2014 at 03:32:57PM -0800, Siva Yerramreddy wrote: > When running dmatest with my yet-to-be submitted driver for the Intel MIC DMA > engine, dmatest detected "dma0chan3-copy5: result #8096161:completion busy > status with src_off=0x0 dst_off=0x0 len=0x40 (0)". This is caused by readi

[PATCH dmaengine-fixes 1/1] dmaengine: read completed cookie before used cookie

2014-02-14 Thread Siva Yerramreddy
When running dmatest with my yet-to-be submitted driver for the Intel MIC DMA engine, dmatest detected "dma0chan3-copy5: result #8096161:completion busy status with src_off=0x0 dst_off=0x0 len=0x40 (0)". This is caused by reading the used cookie before the completed cookie in dma_cookie_status(),