Re: [PATCH v5 7/7] dmaengine: imx-sdma: alloclate bd memory from dma pool

2018-08-06 Thread Lucas Stach
Hi Vinod, hi Robin, this patch is already in your slave-dma tree, but upon closer inspection this is totally doing the wrong thing and should be dropped, see inline comments. The patchset in your tree will regress without this patch, though. So I think we need to delay getting this set upstream un

[PATCH v5 7/7] dmaengine: imx-sdma: alloclate bd memory from dma pool

2018-06-19 Thread Robin Gong
dma_terminate_all maybe called in interrupt context which means WARN_ON() will be triggered as below when bd memory freed. Allocat bd memory from dma pool instead. [ 29.161079] WARNING: CPU: 1 PID: 533 at ./include/linux/dma-mapping.h:541 sdma_free_bd+0xa4/0xb4 [ 29.169883] Modules linked in: