question on howto use invalidate_dcache_range

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Fri Mar 14 04:54:38 EST 2003


>
> Stephan Linke wrote:
>
> > After all is it realy neccessary to use invalidate_dcache range before giving the transmit buffer to the DMA?
>
> The logically correct cache operation is to invalidate an incoming buffer
> after the DMA has completed

Yes, but you still need to invalidate the buffer before also or invalidate it when the buffer is freed which
may be possible if you are using your own buffer mgmt.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list