On Mon, Nov 16, 2020 at 06:02:29PM +0100, Stefan Roese wrote:

> Using (dm_)pci_virt_to_mem() is incorrect to translate the virtual
> address in local DRAM to a physical address. The correct macro here
> is virt_to_phys() so switch to using this macro.
> 
> As virt_to_bus() is now not used any more, this patch also removes
> both definitions (DM and non-DM).
> 
> This issue was detected while testing the e1000 driver on the MIPS
> Octeon III platform, which needs address translation.
> 
> Signed-off-by: Stefan Roese <s...@denx.de>
> Cc: Joe Hershberger <joe.hershber...@ni.com>
> Cc: Aaron Williams <awilli...@marvell.com>
> Cc: Chandrakala Chavva <ccha...@marvell.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to