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

2012-08-02 Thread Ira W. Snyder
pc-dev@lists.ozlabs.org; linux- > > ker...@vger.kernel.org; dan.j.willi...@gmail.com; Vinod Koul; > > herb...@gondor.hengli.com.au; Dan Williams; da...@davemloft.net > > Subject: Re: [PATCH v5 3/6] fsl-dma: change release process of dma > > descriptor for supporting async_tx &g

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

2012-08-02 Thread Liu Qiang-B32616
02, 2012 1:25 AM > To: Liu Qiang-B32616 > Cc: linux-cry...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; linux- > ker...@vger.kernel.org; dan.j.willi...@gmail.com; Vinod Koul; > herb...@gondor.hengli.com.au; Dan Williams; da...@davemloft.net > Subject: Re: [PATCH v5 3/6] fsl-dma: cha

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

2012-08-02 Thread Liu Qiang-B32616
Vinod Koul; > herb...@gondor.hengli.com.au; Dan Williams; da...@davemloft.net > Subject: Re: [PATCH v5 3/6] fsl-dma: change release process of dma > descriptor for supporting async_tx > > On Wed, Aug 01, 2012 at 04:49:17PM +0800, qiang@freescale.com wrote: > > From: Qiang Liu >

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

2012-08-01 Thread Ira W. Snyder
On Wed, Aug 01, 2012 at 04:49:17PM +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 v5 3/6] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-01 Thread Liu Qiang-B32616
s.ozlabs.org; linux- > ker...@vger.kernel.org; dan.j.willi...@gmail.com > Cc: Phillips Kim-R1AAHA; herb...@gondor.hengli.com.au; > da...@davemloft.net; Liu Qiang-B32616; Dan Williams; Vinod Koul; Li Yang- > R58472; Ira W. Snyder > Subject: [PATCH v5 3/6] fsl-dma: change release proc

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

2012-08-01 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