Query: Multiple Mappings to Mem and ARMV6+

viresh kumar viresh.linux at gmail.com
Thu Feb 16 13:14:18 EST 2012


On Thu, Feb 16, 2012 at 9:48 AM, Catalin Marinas
<catalin.marinas at 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



More information about the linux-arm-kernel mailing list