lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150706183021.f105b4fd8e9e39cf6b1989b2@arm.com>
Date:	Mon, 6 Jul 2015 18:30:21 -0500
From:	Kim Phillips <kim.phillips@....com>
To:	Tom Lendacky <thomas.lendacky@....com>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	David Miller <davem@...emloft.net>
Subject: Re: [PATCH net] amd-xgbe: Fix DMA API debug warning

On Mon, 6 Jul 2015 09:57:37 -0700
Tom Lendacky <thomas.lendacky@....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.phillips@....com>
> Signed-off-by: Tom Lendacky <thomas.lendacky@....com>
> ---

That works, thanks!

Tested-by: Kim Phillips <kim.phillips@....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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ