diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-19 08:51:53 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-10-19 08:53:05 +0200 |
commit | a4a4330db46a17289cf2ca5f9fb153d536267b97 (patch) | |
tree | d3e807bd0fe1d8fb38c800f0696711b8423d57ff /arch/arm64 | |
parent | fafadcd16595c1df82df399f62421718ec9bf70a (diff) |
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/arm64')
0 files changed, 0 insertions, 0 deletions