RE: [PATCH 5/6] net: dwc_eth_qos: Invalidate RX packet DMA buffer

2020-04-06 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > 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 i

Re: [PATCH 5/6] net: dwc_eth_qos: Invalidate RX packet DMA buffer

2020-03-23 Thread Ramon Fried
On Mon, Mar 23, 2020 at 3:45 AM Marek Vasut wrote: > > 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

[PATCH 5/6] net: dwc_eth_qos: Invalidate RX packet DMA buffer

2020-03-22 Thread Marek Vasut
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