linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rbairva@gmail.com (rd bairva)
To: linux-arm-kernel@lists.infradead.org
Subject: Fwd: Dmaengine query
Date: Mon, 19 Apr 2010 15:58:29 +0530	[thread overview]
Message-ID: <s2ndbb048f61004190328u30aacb8ctdb66bacf061beeab@mail.gmail.com> (raw)
In-Reply-To: <m2vdbb048f61004190326ve4220de6za13c94eed059ec2@mail.gmail.com>

Hi Dan,

On Thu, Apr 15, 2010 at 6:00 AM, Dan Williams <dan.j.williams@intel.com> wrote:
> On Tue, Apr 13, 2010 at 11:26 PM, rd bairva <rbairva@gmail.com> wrote:
>> Hi Dan,
>>
>> ? ? ? ?I am currently writing dmaengine compatible DMA driver for our ARM
>> based architecture, But I am facing some performance issues doing
>> that.
>>
>> 1. dmaengine says callback should run in tasklet, and next transfer
>> cannot be scheduled from the callback.
>>
>> Due to these restrictions I am getting some performance issue while
>> playing sound in our architecture.
>>
>>
>> Can callback call in DMA driver be placed out of spin_lock to submit
>> new operations from callback? (only in asynchronous case)
>>
>> is this Ok? please comment.
>
> Other dma driver authors are dropping the lock across the call to the
> callback in the mem-to-io case. ?The compliance points in the
> documentation are primarily targeted at the expectations of the
> async_tx api. ?In the mem-to-io (slave dma) model you are not using
> the async_tx api.
>
> --
> Dan
>

? ?My DMA controller supports device to device DMA transfers and we
need it in some of our drivers. Existing DMA engine framework doesn't
have support for device to device transfers.

Do you have any plans for device to device support in DMA engine?

Can you suggest me some other suggestion for doing this?


Regards
Ramdayal

       reply	other threads:[~2010-04-19 10:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <v2mdbb048f61004132326r8ac75382k1e42321ff0ed484a@mail.gmail.com>
     [not found] ` <v2he9c3a7c21004141730vcc79dd58t5478c9d83af9816@mail.gmail.com>
     [not found]   ` <m2vdbb048f61004190326ve4220de6za13c94eed059ec2@mail.gmail.com>
2010-04-19 10:28     ` rd bairva [this message]
2010-04-22  4:05     ` Dmaengine query rd bairva
2010-05-21  8:44     ` rd bairva

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=s2ndbb048f61004190328u30aacb8ctdb66bacf061beeab@mail.gmail.com \
    --to=rbairva@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 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).