linux/arch/arm/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
..
enlighten.c xen/arm: remove handling of XENFEAT_grant_map_identity 2014-12-04 12:41:45 +00:00
grant-table.c arm/xen: remove duplicate arch_gnttab_init() function 2014-08-11 11:59:14 +01:00
hypercall.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
Makefile xen/arm: reimplement xen_dma_unmap_page & friends 2014-09-11 18:11:53 +00:00
mm.c swiotlb-xen: use xen_alloc/free_coherent_pages 2013-10-10 13:41:10 +00:00
mm32.c xen/arm: if(pfn_valid(pfn)) call native dma_ops 2014-12-04 12:41:48 +00:00
p2m.c xen/arm: remove mach_to_phys rbtree 2014-09-11 18:11:53 +00:00