Re: [PATCH] net: netsec: Sync dma for device on buffer allocation

2019-07-08 Thread David Miller
From: Ilias Apalodimas Date: Mon, 8 Jul 2019 10:25:41 +0300 > cd1973a9215a ("net: netsec: Sync dma for device on buffer allocation") > was merged on it's v1 instead of the v3. > Merge the proper patch version > > Signed-off-by: Ilias Apalodimas Applied to net-next, thanks.

[PATCH] net: netsec: Sync dma for device on buffer allocation

2019-07-08 Thread Ilias Apalodimas
cd1973a9215a ("net: netsec: Sync dma for device on buffer allocation") was merged on it's v1 instead of the v3. Merge the proper patch version Signed-off-by: Ilias Apalodimas --- drivers/net/ethernet/socionext/netsec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/driver

Re: [PATCH] net: netsec: Sync dma for device on buffer allocation

2019-07-05 Thread David Miller
From: Ilias Apalodimas 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

[PATCH] net: netsec: Sync dma for device on buffer allocation

2019-07-04 Thread Ilias Apalodimas
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