summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/device.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-01-16 19:01:48 +0100
committerChristoph Hellwig <hch@lst.de>2019-01-23 22:14:56 +0100
commit60d8cd572f655aac6107a2330dced004ad1fe3d7 (patch)
treeca68772a843082cf5dfa42cad2f9275cc53e4984 /arch/arm64/include/asm/device.h
parent333478a7eb21245880c89aad166ad08478cc577d (diff)
arm64/xen: fix xen-swiotlb cache flushing
Xen-swiotlb hooks into the arm/arm64 arch code through a copy of the DMA DMA mapping operations stored in the struct device arch data. Switching arm64 to use the direct calls for the merged DMA direct / swiotlb code broke this scheme. Replace the indirect calls with direct-calls in xen-swiotlb as well to fix this problem. Fixes: 356da6d0cde3 ("dma-mapping: bypass indirect calls for dma-direct") Reported-by: Julien Grall <julien.grall@arm.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/device.h')
-rw-r--r--arch/arm64/include/asm/device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/device.h b/arch/arm64/include/asm/device.h
index 3dd3d664c5c5..4658c937e173 100644
--- a/arch/arm64/include/asm/device.h
+++ b/arch/arm64/include/asm/device.h
@@ -20,9 +20,6 @@ struct dev_archdata {
#ifdef CONFIG_IOMMU_API
void *iommu; /* private IOMMU data */
#endif
-#ifdef CONFIG_XEN
- const struct dma_map_ops *dev_dma_ops;
-#endif
};
struct pdev_archdata {