The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Coherent DMA mapping for existing struct page
Date: Mon, 24 Jan 2011 19:28:07 -0600	[thread overview]
Message-ID: <4D3E2727.8060208@gmail.com> (raw)
In-Reply-To: <87ipxevyiq.fsf@inspiron.ap.columbia.edu>

On 01/24/2011 02:26 PM, Nikolaus Rath wrote:
> Hello,
>
> How do I set up a coherent DMA mapping for an existing struct page?
> dma_alloc_coherent() wants to allocate its own buffer, and
> dma_map_page() sets up streaming mappings. Which function am I missing?

I don't think you can do this. On some platforms, only certain memory 
can be used for coherent DMA, so you can't just use any arbitrary page.

      reply	other threads:[~2011-01-25  1:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24 20:26 Coherent DMA mapping for existing struct page Nikolaus Rath
2011-01-25  1:28 ` Robert Hancock [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=4D3E2727.8060208@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=linux-kernel@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