All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: loody <miloody@gmail.com>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Re: some question about wmb in mips
Date: Tue, 31 Aug 2010 08:59:43 -0700	[thread overview]
Message-ID: <4C7D26EF.3040509@caviumnetworks.com> (raw)
In-Reply-To: <20100831143304.GA16268@linux-mips.org>

On 08/31/2010 07:33 AM, Ralf Baechle wrote:
> On Mon, Aug 30, 2010 at 09:58:27PM +0800, loody wrote:
>
>> after reading the DMA api document and check the source code.
>> I found mips seems not implement "dma map ops", but x86 has implemented it.
>> What are they used for and why mips don't implement it?
>
> This is useful for multiple sets of methods on more complicated systems.
> Right now we just don't need that.
>

That said, I am preparing a set of patches that converts MIPS to use 
struct dma_map_ops.  They turn out to be useful in systems where PCI 
devices need different treatment than on-chip devices, and when bounce 
buffers are needed form some devices, but not others.

David Daney

  reply	other threads:[~2010-08-31 15:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-27 16:16 some question about wmb in mips loody
2010-06-27 17:47 ` Maciej W. Rozycki
2010-06-27 20:52   ` Ralf Baechle
     [not found]     ` <AANLkTim53N4t7PXiRPNqtP0G9cEjMdQY77m73MVkApH5@mail.gmail.com>
2010-08-30 13:58       ` loody
2010-08-31 14:33         ` Ralf Baechle
2010-08-31 15:59           ` David Daney [this message]
2010-06-27 20:39 ` Ralf Baechle

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=4C7D26EF.3040509@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=miloody@gmail.com \
    --cc=ralf@linux-mips.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.