Query: Multiple Mappings to Mem and ARMV6+
viresh.linux at gmail.com
Mon Feb 20 17:48:56 UTC 2012
On Feb 20, 2012 4:31 PM, "Catalin Marinas" <catalin.marinas at arm.com> wrote:
> On 16 February 2012 18:14, viresh kumar <viresh.linux at gmail.com> wrote:
> > 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?
But why isn't keeping only the second one sufficient? Why don't we remove
it from dma_map_* routines?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linaro-dev