On Thu, Feb 16, 2012 at 9:48 AM, Catalin Marinas catalin.marinas@arm.com wrote:
The DMA API implementation on ARM takes care of the cache cleaning and invalidating.
I believe that this is the reason why we have cache re-invalidation (we invalidated it in dma_map_*() earlier) in dma_unmap_*() calls for ARMv6+ for DMA_FROM_DEVICE. Am i Correct?
BTW, I would say cache evictions rather than speculative writes as the latter is something else and ARM processors don't do it (only speculative reads).
Oops!! Sorry for the wrong words :(
-- viresh