OpenCloudOS-Kernel/arch/arm64/include/asm/xen
Stefano Stabellini 02ab71cdae xen/arm64: do not call the swiotlb functions twice
On arm64 the dma_map_ops implementation is based on the swiotlb.
swiotlb-xen, used by default in dom0 on Xen, is also based on the
swiotlb.

Avoid calling into the default arm64 dma_map_ops functions from
xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, and
xen_dma_sync_single_for_device otherwise we end up calling into the
swiotlb twice.

When arm64 gets a non-swiotlb based implementation of dma_map_ops, we'll
probably have to reintroduce dma_map_ops calls in page-coherent.h.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: catalin.marinas@arm.com
CC: Will.Deacon@arm.com
CC: Ian.Campbell@citrix.com
2013-12-11 16:21:00 +00:00
..
events.h arm64/xen: introduce asm/xen header files on arm64 2013-06-07 10:39:45 +00:00
hypercall.h arm64/xen: introduce asm/xen header files on arm64 2013-06-07 10:39:45 +00:00
hypervisor.h arm64/xen: introduce asm/xen header files on arm64 2013-06-07 10:39:45 +00:00
interface.h arm64/xen: introduce asm/xen header files on arm64 2013-06-07 10:39:45 +00:00
page-coherent.h xen/arm64: do not call the swiotlb functions twice 2013-12-11 16:21:00 +00:00
page.h arm64/xen: introduce asm/xen header files on arm64 2013-06-07 10:39:45 +00:00