Two questions about streaming DMA flushing

Rajanikanth H.V rkiyerpersonal at gmail.com
Wed Oct 31 06:09:40 EDT 2012


> > 2.
> > 345 ENTRY(v7_dma_unmap_area)
> > 346         add     r1, r1, r0
> > 347         teq     r2, #DMA_TO_DEVICE
> > 348         bne     v7_dma_inv_range
> > 349         mov     pc, lr
> > 350 ENDPROC(v7_dma_unmap_area)
> >
> > v7_dma_unmap_area, will invalidate corresponding cache line for
> > “DMA_FROM_DEVICE”. But, at v7_dma_map_area, the invalidate has been done.
> > Why do this again?
>
> Cache prefetching.
>
Speculative prefetch?

>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121031/4ea66442/attachment-0001.html>


More information about the linux-arm-kernel mailing list