From: "Roni Feldman" <ronifeldman@gmail.com>
To: linux-sh@vger.kernel.org
Subject: Re: [RFC] sh7751(r): Adding support for PCI-DMA
Date: Mon, 29 Sep 2008 21:02:57 +0000 [thread overview]
Message-ID: <7b5883fc0809291402l17272172se90533ad2ebdd12c@mail.gmail.com> (raw)
In-Reply-To: <7b5883fc0809260450w642dde94k1c25166d8305f007@mail.gmail.com>
Hey Paul,
The code only supplies a transfer mechanism, that is - a way to start
it and a way to be notified when it ends. If I'm not mistaken the
PCI-DMA mapping thing is supposed to behave like any other DMA
mechanism in the system. You just use pci_map_*, do a transfer, and
then pci_unmap_* it. That's what I do in my code, at least.
On Mon, Sep 29, 2008 at 2:49 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Fri, Sep 26, 2008 at 02:50:10PM +0300, Roni Feldman wrote:
>> I've added very basic PCI-DMA support for the sh7751's. I'll be happy
>> to see if this works on different machines since it has been tested
>> only on one platform. Also, it would be interesting to know if there
>> are other SH-4(A) devices that support this.
>>
> Before really being able to comment on this, how exactly are you
> attempting to use this exposed API? Are you attempting to tie this in to
> the DMA mapping ops?
>
next prev parent reply other threads:[~2008-09-29 21:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 11:50 [RFC] sh7751(r): Adding support for PCI-DMA Roni Feldman
2008-09-29 11:49 ` Paul Mundt
2008-09-29 21:02 ` Roni Feldman [this message]
2008-09-30 1:56 ` Paul Mundt
2008-10-04 16:14 ` Roni Feldman
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=7b5883fc0809291402l17272172se90533ad2ebdd12c@mail.gmail.com \
--to=ronifeldman@gmail.com \
--cc=linux-sh@vger.kernel.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