From: Tom Lendacky <thomas.lenda...@amd.com>
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 allocated and then performing a dma_sync_single_for_cpu against
> a calculated DMA address. The proper thing to do is to use the
> dma_sync_single_range_for_cpu with a base DMA address and an offset.
> 
> Reported-by: Kim Phillips <kim.phill...@arm.com>
> Signed-off-by: Tom Lendacky <thomas.lenda...@amd.com>

Applied, thanks Tom.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to