summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-19 08:51:53 +0200
committerChristoph Hellwig <hch@lst.de>2018-10-19 08:53:05 +0200
commita4a4330db46a17289cf2ca5f9fb153d536267b97 (patch)
treed3e807bd0fe1d8fb38c800f0696711b8423d57ff /arch
parentfafadcd16595c1df82df399f62421718ec9bf70a (diff)
downloadlinux-a4a4330db46a17289cf2ca5f9fb153d536267b97.tar.bz2
swiotlb: add support for non-coherent DMA
Handle architectures that are not cache coherent directly in the main swiotlb code by calling arch_sync_dma_for_{device,cpu} in all the right places from the various dma_map/unmap/sync methods when the device is non-coherent. Because swiotlb now uses dma_direct_alloc for the coherent allocation that side is already taken care of by the dma-direct code calling into arch_dma_{alloc,free} for devices that are non-coherent. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions