xen/arm: use dma-noncoherent.h calls for xen-swiotlb cache maintainance
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Sep 2019 08:44:19 +0000 (10:44 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 11 Sep 2019 10:43:16 +0000 (12:43 +0200)
commit8e23c82c68635a8859820bc6feb0fb3798aed943
tree7e42707e498229b72b89d6f782eef6ddb7051f5e
parent78406ff566ecd72021928217908ca255406bd914
xen/arm: use dma-noncoherent.h calls for xen-swiotlb cache maintainance

Copy the arm64 code that uses the dma-direct/swiotlb helpers for DMA
on-coherent devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/include/asm/device.h
arch/arm/include/asm/xen/page-coherent.h
arch/arm/mm/dma-mapping.c
drivers/xen/swiotlb-xen.c