diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-08 09:12:01 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-10-19 08:53:24 +0200 |
commit | 886643b766321f15f63bd950be618cbb6dd22bbc (patch) | |
tree | d84cbe166a610723a06937fbb09c89ffcb608246 /arch/arm/nwfpe/single_cpdo.c | |
parent | swiotlb: add support for non-coherent DMA (diff) | |
download | linux-886643b766321f15f63bd950be618cbb6dd22bbc.tar.xz linux-886643b766321f15f63bd950be618cbb6dd22bbc.zip |
arm64: use the generic swiotlb_dma_ops
Now that the generic swiotlb code supports non-coherent DMA we can switch
to it for arm64. For that we need to refactor the existing
alloc/free/mmap/pgprot helpers to be used as the architecture hooks,
and implement the standard arch_sync_dma_for_{device,cpu} hooks for
cache maintaincance in the streaming dma hooks, which also implies
using the generic dma_coherent flag in struct device.
Note that we need to keep the old is_device_dma_coherent function around
for now, so that the shared arm/arm64 Xen code keeps working.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/nwfpe/single_cpdo.c')
0 files changed, 0 insertions, 0 deletions