Re: [PATCH net] amd-xgbe: Fix DMA API debug warning

2015-07-08 Thread David Miller
From: Tom Lendacky Date: Mon, 6 Jul 2015 11:57:37 -0500 > When running a kernel configured with CONFIG_DMA_API_DEBUG=y a warning > is issued: > DMA-API: device driver tries to sync DMA memory it has not allocated > > This warning is the result of mapping the full range of the Rx buffer > pages

Re: [PATCH net] amd-xgbe: Fix DMA API debug warning

2015-07-06 Thread Kim Phillips
On Mon, 6 Jul 2015 09:57:37 -0700 Tom Lendacky wrote: > When running a kernel configured with CONFIG_DMA_API_DEBUG=y a warning > is issued: > DMA-API: device driver tries to sync DMA memory it has not allocated > > This warning is the result of mapping the full range of the Rx buffer > pages al

[PATCH net] amd-xgbe: Fix DMA API debug warning

2015-07-06 Thread Tom Lendacky
When running a kernel configured with CONFIG_DMA_API_DEBUG=y a warning is issued: DMA-API: device driver tries to sync DMA memory it has not allocated This warning is the result of mapping the full range of the Rx buffer pages allocated and then performing a dma_sync_single_for_cpu against a cal