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] [day] [month] [year] [list]
Message-Id: <20150708.155812.592764115489966730.davem@davemloft.net>
Date:	Wed, 08 Jul 2015 15:58:12 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	thomas.lendacky@....com
Cc:	netdev@...r.kernel.org, kim.phillips@....com
Subject: Re: [PATCH net] amd-xgbe: Fix DMA API debug warning

From: Tom Lendacky <thomas.lendacky@....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.phillips@....com>
> Signed-off-by: Tom Lendacky <thomas.lendacky@....com>

Applied, thanks Tom.
--
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