linux/arch/arm/include/asm/xen
Stefano Stabellini 8746515d7f xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages on ARM
Make sure that xen_swiotlb_init allocates buffers that are DMA capable
when at least one memblock is available below 4G. Otherwise we assume
that all devices on the SoC can cope with >4G addresses. We do this on
ARM and ARM64, where dom0 is mapped 1:1, so pfn == mfn in this case.

No functional changes on x86.

From: Chen Baozi <baozich@gmail.com>

Signed-off-by: Chen Baozi <baozich@gmail.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Chen Baozi <baozich@gmail.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2015-05-06 15:02:58 +01: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: use hypercall to flush caches in map_page 2014-12-04 12:41:52 +00:00
page.h xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages on ARM 2015-05-06 15:02:58 +01:00