Re: [PATCH v2 1/3] dmaengine: imx-sdma: fix buffer ownership

2019-09-21 Thread kbuild test robot
Hi Philipp, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190918] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the

Re: [PATCH v2 1/3] dmaengine: imx-sdma: fix buffer ownership

2019-09-19 Thread Philipp Puschmann
Hi Lucas, Am 19.09.19 um 12:27 schrieb Lucas Stach: > Hi Philipp, > > On Do, 2019-09-19 at 12:23 +0200, Philipp Puschmann wrote: >> BD_DONE flag marks ownership of the buffer. When 1 SDMA owns the >> buffer, when 0 ARM owns it. When processing the buffers in >> sdma_update_channel_loop the owner

Re: [PATCH v2 1/3] dmaengine: imx-sdma: fix buffer ownership

2019-09-19 Thread Lucas Stach
Hi Philipp, On Do, 2019-09-19 at 12:23 +0200, Philipp Puschmann wrote: > BD_DONE flag marks ownership of the buffer. When 1 SDMA owns the > buffer, when 0 ARM owns it. When processing the buffers in > sdma_update_channel_loop the ownership of the currently processed > buffer was set to SDMA again

[PATCH v2 1/3] dmaengine: imx-sdma: fix buffer ownership

2019-09-19 Thread Philipp Puschmann
BD_DONE flag marks ownership of the buffer. When 1 SDMA owns the buffer, when 0 ARM owns it. When processing the buffers in sdma_update_channel_loop the ownership of the currently processed buffer was set to SDMA again before running the callback function of the buffer and while the sdma script may