diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2019-05-07 08:25:58 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-07-03 07:19:35 +0200 |
commit | efd176a04bef41aab5b3087e977fea2b69915174 (patch) | |
tree | 5a9bbcb52a556cae66e020252f47161291dfa71b /Documentation/connector | |
parent | powerpc: remove device_to_mask() (diff) | |
download | linux-efd176a04bef41aab5b3087e977fea2b69915174.tar.xz linux-efd176a04bef41aab5b3087e977fea2b69915174.zip |
powerpc/pseries/dma: Allow SWIOTLB
The commit 8617a5c5bc00 ("powerpc/dma: handle iommu bypass in
dma_iommu_ops") merged direct DMA ops into the IOMMU DMA ops allowing
SWIOTLB as well but only for mapping; the unmapping and bouncing parts
were left unmodified.
This adds missing direct unmapping calls to .unmap_page() and
.unmap_sg().
This adds missing sync callbacks and directs them to the direct DMA
hooks.
Fixes: 8617a5c5bc00 ("powerpc/dma: handle iommu bypass in dma_iommu_ops")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/connector')
0 files changed, 0 insertions, 0 deletions