Re: [PATCH] net: marvell: mvneta: fix DMA debug warning

2019-02-20 Thread David Miller
From: Russell King Date: Fri, 15 Feb 2019 13:55:47 + > Booting 4.20 on SolidRun Clearfog issues this warning with DMA API > debug enabled: ... > This appears to be caused by mvneta_rx_hwbm() calling > dma_sync_single_range_for_cpu() with the wrong struct device pointer, > as the buffer manag

Re: [PATCH] net: marvell: mvneta: fix DMA debug warning

2019-02-15 Thread Russell King - ARM Linux admin
On Fri, Feb 15, 2019 at 03:31:06PM +0100, Gregory CLEMENT wrote: > Hi Russell, > > On ven., févr. 15 2019, Russell King wrote: > > > Booting 4.20 on SolidRun Clearfog issues this warning with DMA API > > debug enabled: > > > > WARNING: CPU: 0 PID: 555 at kernel/dma/debug.c:1230 check_sync+0x51

Re: [PATCH] net: marvell: mvneta: fix DMA debug warning

2019-02-15 Thread Gregory CLEMENT
Hi Russell, On ven., févr. 15 2019, Russell King wrote: > Booting 4.20 on SolidRun Clearfog issues this warning with DMA API > debug enabled: > > WARNING: CPU: 0 PID: 555 at kernel/dma/debug.c:1230 check_sync+0x514/0x5bc > mvneta f107.ethernet: DMA-API: device driver tries to sync DMA memo

[PATCH] net: marvell: mvneta: fix DMA debug warning

2019-02-15 Thread Russell King
Booting 4.20 on SolidRun Clearfog issues this warning with DMA API debug enabled: WARNING: CPU: 0 PID: 555 at kernel/dma/debug.c:1230 check_sync+0x514/0x5bc mvneta f107.ethernet: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x2dd7dc00] [size=240