lkml.org 
[lkml]   [2014]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v7 3/8] arm64: introduce is_device_dma_coherent
On Fri, Nov 07, 2014 at 11:05:25AM +0000, Catalin Marinas wrote:
> BTW, drivers/xen/swiotlb-xen.c needs something like:
>
> dma_addr_t dev_addr = xen_phys_to_bus(phys_to_dma(phys));
>
> phys != bus address.

Wrong place, what I meant is when calling:

xen_dma_unmap_page(hwdev, phys_to_dma(paddr), size, dir, attrs);

--
Catalin


\
 
 \ /
  Last update: 2014-11-07 12:41    [W:1.490 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site