lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] arm: DMA-API contiguous cacheable memory
On Wed, May 20, 2015 at 12:05:54AM +0200, Lorenzo Nava wrote:
> Maybe my interpretation of dma_alloc_coherent() is not correct, and
> the coherency can be managed using the dma_sync_single_for_* functions
> and it doesn't require hardware mechanism.

dma_sync_single_for_* are only for use with the streaming DMA API,
where you must have already mapped the buffer using one of the
dma_map_* functions. Anything other than that is abusing the API.

--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.


\
 
 \ /
  Last update: 2015-05-20 00:21    [W:0.014 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site