Query: Multiple Mappings to Mem and ARMV6+
viresh kumar
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?
>
> Yes.
>
But why isn't keeping only the second one sufficient? Why don't we remove
it from dma_map_* routines?
--
Viresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20120220/ec1ef715/attachment.html>
More information about the linaro-dev
mailing list