]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd064767a6fd88ad1ff9e66381a8d4848c70bb478
tree7e42707e498229b72b89d6f782eef6ddb7051f5e
parent544d85692fee92ab3495128a180e335f62aeacf6
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