linux_dsm_epyc7002/arch/arm/include/asm/xen
Stefano Stabellini 2f91fc331a xen/arm: if(pfn_valid(pfn)) call native dma_ops
Remove code duplication in mm32.c by calling the native dma_ops if the
page is a local page (not a foreign page). Use a simple pfn_valid(pfn)
check to figure out if the page is local, exploiting the fact that dom0
is mapped 1:1, therefore pfn_valid always returns false when called on a
foreign mfn.

Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
2014-12-04 12:41:48 +00:00
..
events.h xen: arm: mandate EABI and use generic atomic operations. 2013-03-11 13:52:19 -04:00
hypercall.h arm,arm64/xen: introduce HYPERVISOR_suspend() 2014-05-12 17:20:24 +01:00
hypervisor.h xen/arm,arm64: enable SWIOTLB_XEN 2013-10-10 13:40:44 +00:00
interface.h arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
page-coherent.h xen/arm: if(pfn_valid(pfn)) call native dma_ops 2014-12-04 12:41:48 +00:00
page.h xen/arm: remove mach_to_phys rbtree 2014-09-11 18:11:53 +00:00