All of lore.kernel.org
 help / color / mirror / Atom feed
From: mcuelenaere@gmail.com (Maurus Cuelenaere)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL081 PrimeCells
Date: Tue, 15 Jun 2010 14:04:54 +0200	[thread overview]
Message-ID: <4C176C66.20008@gmail.com> (raw)
In-Reply-To: <AANLkTil7b5Pg5q18eGvGY_cFH75rdpSuZhigH4vcjrnu@mail.gmail.com>

Op 15-06-10 13:39, Jassi Brar schreef:
> On Tue, Jun 15, 2010 at 8:17 PM, Maurus Cuelenaere
> <mcuelenaere@gmail.com> wrote:
>   
>> Op 15-06-10 12:45, Jassi Brar schreef:
>>     
>>> On Tue, Jun 15, 2010 at 7:25 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
>>>       
>>>> Linus Walleij wrote:
>>>>         
>>>>> This creates a DMAengine driver for the ARM PL080/PL081 PrimeCells
>>>>> based on the implementation earlier submitted by Peter Pearse.
>>>>> This is working like a charm for memcpy on the PB11MPCore, but
>>>>> slave DMA to devices is still not working.
>>>>>
>>>>> This DMA controller is used in mostly unmodified form in the ARM
>>>>> RealView and Versatile platforms, in the ST-Ericsson Nomadik, and
>>>>> in the ST SPEAr platform.
>>>>>
>>>>> It has been converted to use the header from the Samsung PL080
>>>>> derivate instead of its own defintions, and can potentially support
>>>>> several controllers in the same system.
>>>>>
>>>>> Cc: Peter Pearse <peter.pearse@arm.com>
>>>>> Cc: Ben Dooks <ben-linux@fluff.org>
>>>>> Cc: Kukjin Kim <kgene.kim@samsung.com>
>>>>>           
>>>> Looks good, but please give me some time to test on the board(SMDK6410).
>>>> If any problem, let you know. Of course no problem, will ack.
>>>>         
>>> Samsung doesn't use the DMA API, so this driver is unlikely to work.
>>>       
>> It doesn't indeed, but it could be adapted to be a wrapper around the DMA engine API.
>> Or even better, the drivers could be adapted to use that API.
>>     
> I don't particularly like the idea of making Samsung's drivers use the DMA API.
> IMHO the S3C dma api is better atm.
>   

At the moment it is better, true. But I do think it'd be better to use a
generic API than an arch-specific one.
I'm not familiar enough with both of them to know what functionality is
currently missing but I do think that once the DMA engine API is up to
speed, it should replace the s3c one.

-- 
Maurus Cuelenaere

WARNING: multiple messages have this Message-ID (diff)
From: Maurus Cuelenaere <mcuelenaere@gmail.com>
To: Jassi Brar <jassisinghbrar@gmail.com>
Cc: Kukjin Kim <kgene.kim@samsung.com>,
	Linus Walleij <linus.walleij@stericsson.com>,
	Dan Williams <dan.j.williams@intel.com>,
	linux-arm-kernel@lists.infradead.org, yuanyabin1978@sina.com,
	Viresh Kumar <viresh.kumar@st.com>,
	Alessandro Rubini <rubini@unipv.it>,
	linux-kernel@vger.kernel.org, Ben Dooks <ben-linux@fluff.org>,
	Peter Pearse <peter.pearse@arm.com>
Subject: Re: [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL081 PrimeCells
Date: Tue, 15 Jun 2010 14:04:54 +0200	[thread overview]
Message-ID: <4C176C66.20008@gmail.com> (raw)
In-Reply-To: <AANLkTil7b5Pg5q18eGvGY_cFH75rdpSuZhigH4vcjrnu@mail.gmail.com>

Op 15-06-10 13:39, Jassi Brar schreef:
> On Tue, Jun 15, 2010 at 8:17 PM, Maurus Cuelenaere
> <mcuelenaere@gmail.com> wrote:
>   
>> Op 15-06-10 12:45, Jassi Brar schreef:
>>     
>>> On Tue, Jun 15, 2010 at 7:25 PM, Kukjin Kim <kgene.kim@samsung.com> wrote:
>>>       
>>>> Linus Walleij wrote:
>>>>         
>>>>> This creates a DMAengine driver for the ARM PL080/PL081 PrimeCells
>>>>> based on the implementation earlier submitted by Peter Pearse.
>>>>> This is working like a charm for memcpy on the PB11MPCore, but
>>>>> slave DMA to devices is still not working.
>>>>>
>>>>> This DMA controller is used in mostly unmodified form in the ARM
>>>>> RealView and Versatile platforms, in the ST-Ericsson Nomadik, and
>>>>> in the ST SPEAr platform.
>>>>>
>>>>> It has been converted to use the header from the Samsung PL080
>>>>> derivate instead of its own defintions, and can potentially support
>>>>> several controllers in the same system.
>>>>>
>>>>> Cc: Peter Pearse <peter.pearse@arm.com>
>>>>> Cc: Ben Dooks <ben-linux@fluff.org>
>>>>> Cc: Kukjin Kim <kgene.kim@samsung.com>
>>>>>           
>>>> Looks good, but please give me some time to test on the board(SMDK6410).
>>>> If any problem, let you know. Of course no problem, will ack.
>>>>         
>>> Samsung doesn't use the DMA API, so this driver is unlikely to work.
>>>       
>> It doesn't indeed, but it could be adapted to be a wrapper around the DMA engine API.
>> Or even better, the drivers could be adapted to use that API.
>>     
> I don't particularly like the idea of making Samsung's drivers use the DMA API.
> IMHO the S3C dma api is better atm.
>   

At the moment it is better, true. But I do think it'd be better to use a
generic API than an arch-specific one.
I'm not familiar enough with both of them to know what functionality is
currently missing but I do think that once the DMA engine API is up to
speed, it should replace the s3c one.

-- 
Maurus Cuelenaere


  reply	other threads:[~2010-06-15 12:04 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-11 15:27 [PATCH 06/13] DMAENGINE: driver for the ARM PL080/PL081 PrimeCells Linus Walleij
2010-06-11 15:27 ` Linus Walleij
2010-06-14  6:02 ` Viresh KUMAR
2010-06-14  6:02   ` Viresh KUMAR
2010-06-14 13:39   ` Linus Walleij
2010-06-14 13:39     ` Linus Walleij
2010-06-15  5:25     ` Viresh KUMAR
2010-06-15  5:25       ` Viresh KUMAR
2010-06-15 20:14       ` Linus WALLEIJ
2010-06-15 20:14         ` Linus WALLEIJ
2010-06-16  3:59         ` Viresh KUMAR
2010-06-16  3:59           ` Viresh KUMAR
2010-06-16  6:38           ` Linus Walleij
2010-06-16  6:38             ` Linus Walleij
2010-06-15 10:25 ` Kukjin Kim
2010-06-15 10:25   ` Kukjin Kim
2010-06-15 10:45   ` Jassi Brar
2010-06-15 10:45     ` Jassi Brar
2010-06-15 11:17     ` Maurus Cuelenaere
2010-06-15 11:17       ` Maurus Cuelenaere
2010-06-15 11:39       ` Jassi Brar
2010-06-15 11:39         ` Jassi Brar
2010-06-15 12:04         ` Maurus Cuelenaere [this message]
2010-06-15 12:04           ` Maurus Cuelenaere
2010-06-15 20:55     ` Linus WALLEIJ
2010-06-15 20:55       ` Linus WALLEIJ
2010-12-21 18:20 ` Russell King - ARM Linux
2010-12-21 18:20   ` Russell King - ARM Linux
2010-12-21 22:25   ` Russell King - ARM Linux
2010-12-21 22:25     ` Russell King - ARM Linux
2010-12-22 12:22   ` Russell King - ARM Linux
2010-12-22 12:22     ` Russell King - ARM Linux
2010-12-22 12:29   ` Russell King - ARM Linux
2010-12-22 12:29     ` Russell King - ARM Linux
2010-12-22 23:45     ` Dan Williams
2010-12-22 23:45       ` Dan Williams
2010-12-22 23:54       ` Russell King - ARM Linux
2010-12-22 23:54         ` Russell King - ARM Linux
2010-12-23  0:53         ` Dan Williams
2010-12-23  0:53           ` Dan Williams
2010-12-23  0:10       ` Russell King - ARM Linux
2010-12-23  0:10         ` Russell King - ARM Linux
2010-12-23  1:11         ` Dan Williams
2010-12-23  1:11           ` Dan Williams
2010-12-23  1:31           ` Dan Williams
2010-12-23  1:31             ` Dan Williams
2010-12-31 21:50             ` Russell King - ARM Linux
2010-12-31 21:50               ` Russell King - ARM Linux
2011-01-02  9:42               ` Dan Williams
2011-01-02  9:42                 ` Dan Williams
2011-01-02 11:22                 ` Russell King - ARM Linux
2011-01-02 11:22                   ` Russell King - ARM Linux
2011-01-02 20:33               ` Linus Walleij
2011-01-02 20:33                 ` Linus Walleij
2011-01-03 11:14                 ` Russell King - ARM Linux
2011-01-03 11:14                   ` Russell King - ARM Linux
2010-12-23  9:18           ` Russell King - ARM Linux
2010-12-23  9:18             ` Russell King - ARM Linux
2010-12-23  8:17       ` Linus Walleij
2010-12-23  8:17         ` Linus Walleij
2010-12-23  8:30         ` Jassi Brar
2010-12-23  8:30           ` Jassi Brar
2010-12-23 12:30         ` Russell King - ARM Linux
2010-12-23 12:30           ` Russell King - ARM Linux
2010-12-28  0:33           ` Linus Walleij
2010-12-28  0:33             ` Linus Walleij
2011-01-01 15:15       ` Russell King - ARM Linux
2011-01-01 15:15         ` Russell King - ARM Linux
2011-01-02 20:29         ` Linus Walleij
2011-01-02 20:29           ` Linus Walleij
2014-03-10 13:56         ` David Woodhouse
2014-03-10 13:56           ` David Woodhouse
2014-03-10 14:11           ` Arnd Bergmann
2014-03-10 14:11             ` Arnd Bergmann
2014-03-10 14:27             ` David Woodhouse
2014-03-10 14:27               ` David Woodhouse
2014-03-10 14:40               ` Arnd Bergmann
2014-03-10 14:40                 ` Arnd Bergmann
2014-03-10 14:32           ` Russell King - ARM Linux
2014-03-10 14:32             ` Russell King - ARM Linux
2014-03-10 14:52             ` David Woodhouse
2014-03-10 14:52               ` David Woodhouse
2014-03-13  8:17               ` Linus Walleij
2014-03-13  8:17                 ` Linus Walleij
2014-03-13  8:52                 ` Arnd Bergmann
2014-03-13  8:52                   ` Arnd Bergmann
2014-03-13 14:35                   ` Linus Walleij
2014-03-13 14:35                     ` Linus Walleij
2011-01-01 15:36       ` Russell King - ARM Linux
2011-01-01 15:36         ` Russell King - ARM Linux
2011-01-03 15:19       ` Russell King - ARM Linux
2011-01-03 15:19         ` Russell King - ARM Linux
2011-01-04  0:41         ` Jassi Brar
2011-01-04  0:41           ` Jassi Brar
2011-01-04 10:47         ` Linus Walleij
2011-01-04 10:47           ` Linus Walleij

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=4C176C66.20008@gmail.com \
    --to=mcuelenaere@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.