[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160322123408.GN19428@n2100.arm.linux.org.uk>
Date: Tue, 22 Mar 2016 12:34:08 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Sodagudi Prasad <psodagud@...eaurora.org>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
shashim@...eaurora.org, sboyd@...eaurora.org
Subject: Re: [Query] doubt on parameters passed to dma_map_single_attrs() API
On Tue, Mar 22, 2016 at 03:53:02PM +0530, Sodagudi Prasad wrote:
>
> Hi All,
>
> Would like to check whether the dma_map_single_attrs() API, can accept ptr
> variable from high memory or not?
It can't. Direct mapped, lowmem only.
No pointers allowed from dma_alloc_coherent(), dma_alloc_writecombine(),
ioremap(), vmalloc(), kmap(), kmap_atomic() or similar function, or
derived from one of these.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Powered by blists - more mailing lists