From: Ilias Apalodimas <ilias.apalodi...@linaro.org> Date: Thu, 4 Jul 2019 17:11:09 +0300
> Quoting Arnd, > > We have to do a sync_single_for_device /somewhere/ before the > buffer is given to the device. On a non-cache-coherent machine with > a write-back cache, there may be dirty cache lines that get written back > after the device DMA's data into it (e.g. from a previous memset > from before the buffer got freed), so you absolutely need to flush any > dirty cache lines on it first. > > Since the coherency is configurable in this device make sure we cover > all configurations by explicitly syncing the allocated buffer for the > device before refilling it's descriptors > > Signed-off-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> Please make it explicit in your Subject lines which tree a patch is for, in this case it should have been "[PATCH net-next] ". Applied, thanks.