Hi Marek,

> From: Marek Vasut <[email protected]>
> Sent: lundi 23 mars 2020 02:45
> 
> This patch prevents an issue where the RX packet might have been accessed by
> the CPU, which now has cached data from the packet in the caches and possibly
> various write buffers, and these data may be evicted from the caches into the
> DRAM while the buffer is also written by the DMA.
> 
> By invalidating the buffer after the CPU accessed it and before the DMA 
> populates
> the buffer, it is assured that the buffer will not be corrupted.
> 
> Signed-off-by: Marek Vasut <[email protected]>
> Cc: Joe Hershberger <[email protected]>
> Cc: Patrice Chotard <[email protected]>
> Cc: Patrick Delaunay <[email protected]>
> Cc: Ramon Fried <[email protected]>
> Cc: Stephen Warren <[email protected]>
> ---

Reviewed-by: Patrick Delaunay <[email protected]>

Patrick

Reply via email to