Re: [Linaro-mm-sig] [RFC] ARM DMA mapping TODO, v1

From: Russell King - ARM Linux
Date: Thu Apr 28 2011 - 10:35:18 EST


On Thu, Apr 28, 2011 at 04:29:52PM +0200, Arnd Bergmann wrote:
> Given that people still want to have an interface that does what I
> though this one did, I guess we have two options:
>
> * Kill off dma_cache_sync and replace it with calls to dma_sync_*
> so we can start using dma_alloc_noncoherent on ARM

I don't think this is an option as dma_sync_*() is part of the streaming
DMA mapping API (dma_map_*) which participates in the idea of buffer
ownership, which the noncoherent API doesn't appear to.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/