On Mon, 6 Jul 2015 09:57:37 -0700
Tom Lendacky <thomas.lenda...@amd.com> 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 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>
> ---

That works, thanks!

Tested-by: Kim Phillips <kim.phill...@arm.com>

Kim


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782

--
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