linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/13] dmaengine: imx-dma: merge dma arch code into dmaengine.
Date: Fri, 9 Mar 2012 14:08:03 +0100	[thread overview]
Message-ID: <20120309130803.GD3852@pengutronix.de> (raw)
In-Reply-To: <CACKLOr3Y9BW_pMUnr6q4eH2c+2=jQ2WHEjWprb=O5wFrS9=T=A@mail.gmail.com>

On Fri, Mar 09, 2012 at 01:04:36PM +0100, javier Martin wrote:
> Hi Sascha,
> thank you for your time.
> 
> On 9 March 2012 11:56, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > On Wed, Mar 07, 2012 at 03:33:32PM +0100, Javier Martin wrote:
> >> The following series have to be applied on top of the following patches:
> >> [PATCH v2 1/2] dmaengine: Add support for MEMCPY for imx-dma.
> >> [PATCH v3 2/2] dmaengine: Add support for multiple descriptors for imx-dma.
> >>
> >> As discussed with Vinod and Sascha, the file 'arch/arm/mach-imx/dma-v1.c'
> >> is deprecated and no new patches are accepted for it.
> >>
> >> This series merges this code into the imx-dma.c dmaengine driver.
> >>
> >> Changes since v1:
> >> ?- Merge patch 14 with 01.
> >> ?- Add a proper changelog to each patch of the series.
> >>
> >> [PATCH v2 01/13] dmaengine: imx-dma: merge old dma-v1.c with imx-dma.c
> >> [PATCH v2 02/13] dmaengine: imx-dma: remove data member from internal structure.
> >> [PATCH v2 03/13] dmaengine: imx-dma: remove dma_mode member of internal structure.
> >> [PATCH v2 04/13] dmaengine: imx-dma: remove 'imxdma_setup_mem2mem_hw' function.
> >> [PATCH v2 05/13] dmaengine: imx-dma: remove 'imxdma_config_channel_hw' function.
> >> [PATCH v2 06/13] dmaengine: imx-dma: remove 'imxdma_setup_sg_hw' function.
> >> [PATCH v2 07/13] dmaengine: imx-dma: remove sg member from internal structure.
> >> [PATCH v2 08/13] dmaengine: imx-dma: remove 'in_use' field of 'internal' structure.
> >> [PATCH v2 09/13] dmaengine: imx-dma: remove 'resbytes' field of 'internal' structure.
> >> [PATCH v2 10/13] dmaengine: imx-dma: remove internal structure.
> >> [PATCH v2 11/13] dmaengine: imx-dma: remove unused arg of imxdma_sg_next.
> >> [PATCH v2 12/13] dmaengine: imx-dma: remove 'imx_dmav1_baseaddr' and 'dma_clk'.
> >> [PATCH v2 13/13] dmaengine: imx-dma: use 'dev_dbg' and 'dev_warn' for messages.
> >
> > I didn't look at the individual patches but only on the end result and
> > overall it looks good. There are several things left for further cleanup:
> >
> > - use resources for irq and base address
> > - use platform device id rather than cpu_is_* to distinguish
> > ?between the different device types.
> > - request_irq for i.MX21/27 in alloc_chan_resources instead in probe
> > - Use all available channels. In the time we had dmaengine users and
> > ?legacy API users 8 channels were reserved for the old API and 8
> > ?channels for the dmaengine API.
> >
> > I think the first three points can be done in a later series, the last
> > one should be trivial to fix now.
> 
> I agree. Let me fix the last issue you mention in a v3 of the involved patch.
> 
> > Some comments follow to the individual patches.
> >
> > And, oh:
> >
> > Tested-by: Sascha Hauer <s.hauer@pengutronix.de
> 
> Cool. Did you test it for any other platform than i.MX27?

Nope, only i.MX27

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

      reply	other threads:[~2012-03-09 13:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 14:33 [PATCH v2 00/13] dmaengine: imx-dma: merge dma arch code into dmaengine Javier Martin
2012-03-07 14:33 ` [PATCH v2 01/13] dmaengine: imx-dma: merge old dma-v1.c with imx-dma.c Javier Martin
2012-03-09 11:00   ` Sascha Hauer
2012-03-09 11:57     ` javier Martin
2012-03-07 14:33 ` [PATCH v2 02/13] dmaengine: imx-dma: remove data member from internal structure Javier Martin
2012-03-07 14:33 ` [PATCH v2 03/13] dmaengine: imx-dma: remove dma_mode member of " Javier Martin
2012-03-07 14:33 ` [PATCH v2 04/13] dmaengine: imx-dma: remove 'imxdma_setup_mem2mem_hw' function Javier Martin
2012-03-07 14:33 ` [PATCH v2 05/13] dmaengine: imx-dma: remove 'imxdma_config_channel_hw' function Javier Martin
2012-03-07 14:33 ` [PATCH v2 06/13] dmaengine: imx-dma: remove 'imxdma_setup_sg_hw' function Javier Martin
2012-03-07 14:33 ` [PATCH v2 07/13] dmaengine: imx-dma: remove sg member from internal structure Javier Martin
2012-03-07 14:33 ` [PATCH v2 08/13] dmaengine: imx-dma: remove 'in_use' field of 'internal' structure Javier Martin
2012-03-07 14:33 ` [PATCH v2 09/13] dmaengine: imx-dma: remove 'resbytes' " Javier Martin
2012-03-07 14:33 ` [PATCH v2 10/13] dmaengine: imx-dma: remove internal structure Javier Martin
2012-03-07 14:33 ` [PATCH v2 11/13] dmaengine: imx-dma: remove unused arg of imxdma_sg_next Javier Martin
2012-03-07 14:33 ` [PATCH v2 12/13] dmaengine: imx-dma: remove 'imx_dmav1_baseaddr' and 'dma_clk' Javier Martin
2012-03-07 14:33 ` [PATCH v2 13/13] dmaengine: imx-dma: use 'dev_dbg' and 'dev_warn' for messages Javier Martin
2012-03-08 20:04 ` [PATCH v2 00/13] dmaengine: imx-dma: merge dma arch code into dmaengine Sascha Hauer
2012-03-09  8:00   ` javier Martin
2012-03-09 10:56 ` Sascha Hauer
2012-03-09 12:04   ` javier Martin
2012-03-09 13:08     ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120309130803.GD3852@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).