[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1541504525-25720-1-git-send-email-yibin.gong@nxp.com>
Date: Tue, 6 Nov 2018 03:40:16 +0000
From: Robin Gong <yibin.gong@....com>
To: "vkoul@...nel.org" <vkoul@...nel.org>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>
CC: "dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>
Subject: [PATCH v3 0/4] Correct dma pool for imx-sdma
This patch set to correct dma pool used in the commit fe5b85c656bc
("dmaengine: imx-sdma: alloclate bd memory from dma pool")
because all bds should be contiguous in memory in multi bds case
for sdma, but dma pool can't statify it and cause transfer failure
then.Thank Lucas for the making things on the right way.
This patch set is v3 based on Lucas's V1/V2, the main refine:
--fix the issue I reported in V1 but Lucas workaround it by improper
way in V2.
--add vchan_synchronize() to kill tasklet in virt-dma internal.
--refine name: use sdma_disable_channel_async instead of
sdma_disable_channel_with_delay since no delay indeed for
device_terminate_all.
Please refer to below link for more information:
https://patchwork.kernel.org/patch/10601111
Lucas Stach (4):
Revert "dmaengine: imx-sdma: Use GFP_NOWAIT for dma allocations"
Revert "dmaengine: imx-sdma: alloclate bd memory from dma pool"
dmaengine: imx-sdma: implement channel termination via worker
dmaengine: imx-sdma: use GFP_NOWAIT for dma descriptor allocations
drivers/dma/imx-sdma.c | 69 ++++++++++++++++++++++++++++++++------------------
1 file changed, 44 insertions(+), 25 deletions(-)
--
2.7.4
Powered by blists - more mailing lists