Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-30 Thread Vinod
Hey Peter, On 30-08-18, 11:57, Peter Ujfalusi wrote: > On 2018-08-29 19:22, Vinod wrote: > + * 2. use dmaengine_desc_attach_metadata() to attach the buffer to the > + * descriptor > + * 3. submit the transfer > + * - DMA_DEV_TO_MEM: > + * 1. prepare the descript

RE: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-30 Thread Radhey Shyam Pandey
> Vinod, > > On 2018-08-29 19:22, Vinod wrote: > + * 2. use dmaengine_desc_attach_metadata() to attach the buffer to > the > + * descriptor > + * 3. submit the transfer > + * - DMA_DEV_TO_MEM: > + * 1. prepare the descriptor (dmaengine_prep_*) > + * 2. u

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-30 Thread Peter Ujfalusi
Vinod, On 2018-08-29 19:22, Vinod wrote: + * 2. use dmaengine_desc_attach_metadata() to attach the buffer to the + *descriptor + * 3. submit the transfer + * - DMA_DEV_TO_MEM: + * 1. prepare the descriptor (dmaengine_prep_*) + * 2. use dmaengine_desc_a

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-29 Thread Vinod
On 29-08-18, 19:14, Peter Ujfalusi wrote: > Vinod, > > On 08/29/2018 06:52 PM, Vinod wrote: > > On 23-08-18, 16:07, Peter Ujfalusi wrote: > >> The metadata is best described as side band data or parameters traveling > >> alongside the data DMAd by the DMA engine. It is data > >> which is understoo

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-29 Thread Peter Ujfalusi
Vinod, On 08/29/2018 06:52 PM, Vinod wrote: > On 23-08-18, 16:07, Peter Ujfalusi wrote: >> The metadata is best described as side band data or parameters traveling >> alongside the data DMAd by the DMA engine. It is data >> which is understood by the peripheral and the peripheral driver only, the

Re: [PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-29 Thread Vinod
On 23-08-18, 16:07, Peter Ujfalusi wrote: > The metadata is best described as side band data or parameters traveling > alongside the data DMAd by the DMA engine. It is data > which is understood by the peripheral and the peripheral driver only, the > DMA engine see it only as data block and it is n

[PATCH] dmaengine: Add metadata_ops for dma_async_tx_descriptor

2018-08-23 Thread Peter Ujfalusi
The metadata is best described as side band data or parameters traveling alongside the data DMAd by the DMA engine. It is data which is understood by the peripheral and the peripheral driver only, the DMA engine see it only as data block and it is not interpreting it in any way. The metadata can b