RE: [PATCH v4 3/7] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-31 Thread Liu Qiang-B32616
il.com; Vinod Koul; Li > Yang-R58472; herb...@gondor.apana.org.au > Subject: Re: [PATCH v4 3/7] fsl-dma: change release process of dma > descriptor for supporting async_tx > > On Tue, Jul 31, 2012 at 04:09:28AM +, Liu Qiang-B32616 wrote: > > > -Original Messag

Re: [PATCH v4 3/7] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-31 Thread Ira W. Snyder
dev@lists.ozlabs.org; Phillips > > Kim-R1AAHA; herb...@gondor.hengli.com.au; da...@davemloft.net; Dan > > Williams; Vinod Koul; Li Yang-R58472 > > Subject: Re: [PATCH v4 3/7] fsl-dma: change release process of dma > > descriptor for supporting async_tx > > > > On Fr

RE: [PATCH v4 3/7] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-30 Thread Liu Qiang-B32616
davemloft.net; Dan > Williams; Vinod Koul; Li Yang-R58472 > Subject: Re: [PATCH v4 3/7] fsl-dma: change release process of dma > descriptor for supporting async_tx > > On Fri, Jul 27, 2012 at 05:16:09PM +0800, qiang@freescale.com wrote: > > From: Qiang Liu > > > > Fi

Re: [PATCH v4 3/7] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-30 Thread Ira W. Snyder
On Fri, Jul 27, 2012 at 05:16:09PM +0800, qiang@freescale.com wrote: > From: Qiang Liu > > Fix the potential risk when enable config NET_DMA and ASYNC_TX. > Async_tx is lack of support in current release process of dma descriptor, > all descriptors will be released whatever is acked or no-ack

RE: [PATCH v4 3/7] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-29 Thread Liu Qiang-B32616
im-R1AAHA; herb...@gondor.hengli.com.au; > da...@davemloft.net; Liu Qiang-B32616; Dan Williams; Vinod Koul; Li Yang- > R58472; Ira W. Snyder > Subject: [PATCH v4 3/7] fsl-dma: change release process of dma descriptor > for supporting async_tx > > From: Qiang Liu > > Fi

[PATCH v4 3/7] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-27 Thread qiang.liu
From: Qiang Liu Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors will be released whatever is acked or no-acked by async_tx, so there is a potential race condition when dma engine is uesd by o