Hi Vinod,

On 31.08.2017 12:57, Robin Murphy wrote:
On 30/08/17 19:25, Dave Jiang wrote:
On 08/30/2017 11:18 AM, Robin Murphy wrote:
On 25/08/17 21:59, Dave Jiang wrote:
Adding a dmaengine transaction operation that allows copy to/from a
scatterlist and a flat buffer.

Apologies if I'm late to the party, but doesn't DMA_SG already cover
this use-case? As far as I can see, all this does is save the caller
from setting up a single-entry scatterlist to describe the buffer - even
if such a simplified interface is justified it seems like something that
could be implemented as a wrapper around dmaengine_prep_dma_sg() rather
than the providers having to implement a whole extra callback.


DMA_SG is queued to be removed in 4.14. There is no in kernel consumer
for the code.

Ah, I see, that's what I was missing. So we're effectively just
replacing that interface with a more pragmatic alternative - that makes
sense.

What are the plans with this new DMA_MEMCPY_SG interface? When will it
hit mainline or is something missing?

Thanks,
Stefan
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to