]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] dma: don't touch cache on dma_*_for_cpu()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 29 Sep 2008 18:50:59 +0000 (19:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 30 Sep 2008 10:01:36 +0000 (11:01 +0100)
commit309dbbabee7b19e003e1ba4b98f43d28f390a84e
treeba748b84c0573f5eb151a581e333b95010576521
parent0e18b5d7c6339311f1e32e7b186ae3556c5b6d33
[ARM] dma: don't touch cache on dma_*_for_cpu()

As per the dma_unmap_* calls, we don't touch the cache when a DMA
buffer transitions from device to CPU ownership.  Presently, no
problems have been identified with speculative cache prefetching
which in itself is a new feature in later architectures.  We may
have to revisit the DMA API later for these architectures anyway.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c