summaryrefslogtreecommitdiff
path: root/arch/x86/xen/pci-swiotlb-xen.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-10-30 01:21:27 (GMT)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-11-08 20:16:07 (GMT)
commitfbd989b1d73e3b3565dad5227a581e6f456c895f (patch)
treee3ed5d21f6ca786e144b8b3f86018d8e0249ad2c /arch/x86/xen/pci-swiotlb-xen.c
parent3b284bde702c191e3c63168e2d627d90d2b2515b (diff)
downloadlinux-fsl-qoriq-fbd989b1d73e3b3565dad5227a581e6f456c895f.tar.xz
arm: make SWIOTLB available
IOMMU_HELPER is needed because SWIOTLB calls iommu_is_span_boundary, provided by lib/iommu_helper.c. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> CC: will.deacon@arm.com Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Changes in v9: - remove uneeded include asm/cacheflush.h; - just return 0 if !dev->dma_mask in dma_capable. Changes in v8: - use __phys_to_pfn and __pfn_to_phys. Changes in v7: - dma_mark_clean: empty implementation; - in dma_capable use coherent_dma_mask if dma_mask hasn't been allocated. Changes in v6: - check for dev->dma_mask being NULL in dma_capable. Changes in v5: - implement dma_mark_clean using dmac_flush_range. Changes in v3: - dma_capable: do not treat dma_mask as a limit; - remove SWIOTLB dependency on NEED_SG_DMA_LENGTH.
Diffstat (limited to 'arch/x86/xen/pci-swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions