1
0
Fork 0
alistair23-linux/arch/x86/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
..
cpuid.h xen/pci: Use APIC directly when APIC virtualization hardware is available 2014-12-04 13:02:43 +00:00
events.h xen: Support 64-bit PV guest receiving NMIs 2013-08-09 10:55:47 -04:00
hypercall.h arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
hypervisor.h xen: Switch to use hypervisor_cpuid_base() 2013-08-05 06:34:09 -07:00
interface.h arm: xen: implement multicall hypercall support. 2014-04-24 13:09:46 +01:00
interface_32.h xen: implement XENMEM_machphys_mapping 2010-11-12 15:00:06 -08:00
interface_64.h xen: implement XENMEM_machphys_mapping 2010-11-12 15:00:06 -08:00
page-coherent.h xen: add a dma_addr_t dev_addr argument to xen_dma_map_page 2014-12-04 12:41:51 +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
pci.h xen/pci: Squash pci_xen_initial_domain and xen_setup_pirqs together. 2011-07-11 13:19:30 -04:00
swiotlb-xen.h xen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when PV PCI is used. 2012-09-17 12:58:16 -04:00
trace_types.h xen/trace: add multicall tracing 2011-07-18 15:43:26 -07:00