From mboxrd@z Thu Jan 1 00:00:00 1970 From: per.forlin@linaro.org (Per Forlin) Date: Wed, 25 May 2011 14:54:06 +0200 Subject: [PATCH 2/2] dmaengine: add TODO items for future work on dma drivers In-Reply-To: References: <1306323570-11133-1-git-send-email-vinod.koul@intel.com> <1306323570-11133-3-git-send-email-vinod.koul@intel.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 25 May 2011 14:39, Per Forlin wrote: > On 25 May 2011 13:39, Koul, Vinod wrote: >> From: Vinod Koul >> >> Signed-off-by: Vinod Koul >> --- >> ?drivers/dma/TODO | ? 12 ++++++++++++ >> ?1 files changed, 12 insertions(+), 0 deletions(-) >> ?create mode 100644 drivers/dma/TODO >> >> diff --git a/drivers/dma/TODO b/drivers/dma/TODO >> new file mode 100644 >> index 0000000..b67d184 >> --- /dev/null >> +++ b/drivers/dma/TODO >> @@ -0,0 +1,12 @@ >> +TODO for slave dma >> + >> +1. Move remaining drivers to use new slave interface >> +2. Remove old slave pointer machansim >> +3. Make issue_pending to start the transaction in below drivers >> + ? ? ? - mpc512x_dma >> + ? ? ? - imx-dma >> + ? ? ? - imx-sdma >> + ? ? ? - mxs-dma.c >> + ? ? ? - dw_dmac >> + ? ? ? - intel_mid_dma >> + ? ? ? - ste_dma40 > ste_dma40 already does this. At least is does so in 2.6.39. I may not > be up to date of what is merged for 2.6.40. > I looked at the code once more and ste_dam40 should be on this list :) ste_dm40 only treats issue_pending accordingly if the DMA driver is in idle. If the dma is active the desc:s submitted from submit() will be started later on from dma-irq-function. The dma-irq-function simply checks if there are pending desc are start them if any. I will fix a patch for this. /Per