RE: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx

2014-04-11 Thread Xuelin Shi
...@vger.kernel.org; linuxppc-dev Subject: Re: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx On Thu, Mar 20, 2014 at 1:16 AM, wrote: > From: Xuelin Shi > > dmaengine_unmap_put does below two things: > a) unmap pages for srcs and dests > b) free unmap struct >

Re: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx

2014-04-09 Thread Dan Williams
On Thu, Mar 20, 2014 at 1:16 AM, wrote: > From: Xuelin Shi > > dmaengine_unmap_put does below two things: > a) unmap pages for srcs and dests > b) free unmap struct > > The unmap struct data is generated but only initialized while > other some dma contions are met, like dma alignment etc. > If t

RE: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx

2014-03-30 Thread Xuelin Shi
n.j.willi...@intel.com Cc: dmaeng...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Shi Xuelin-B29237 Subject: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx From: Xuelin Shi dmaengine_unmap_put does below two things: a) unmap pages for srcs and dests b) free unmap struct The unm

RE: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx

2014-03-20 Thread Xuelin Shi
Subject: Re: [PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx On Thu, 2014-03-20 at 16:16 +0800, xuelin@freescale.com wrote: > From: Xuelin Shi > > dmaengine_unmap_put does below two things: > a) unmap pages for srcs and dests > b) free unmap struct > > The

[PATCH v2] fix wrong usage of dmaengine_unmap_put in async_xxx

2014-03-20 Thread xuelin.shi
From: Xuelin Shi dmaengine_unmap_put does below two things: a) unmap pages for srcs and dests b) free unmap struct The unmap struct data is generated but only initialized while other some dma contions are met, like dma alignment etc. If the unmap data is not initialized, call dmaengine_unmap_put