[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4D3E2727.8060208@gmail.com>
Date: Mon, 24 Jan 2011 19:28:07 -0600
From: Robert Hancock <hancockrwd@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: Coherent DMA mapping for existing struct page
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists