[PATCH kernel 1/2] powerpc/pseries/dma: Allow swiotlb

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jul 8 11:19:30 AEST 2019

On Tue, 2019-05-07 at 06:25:58 UTC, Alexey Kardashevskiy wrote:
> 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 at ozlabs.ru>
> Signed-off-by: Thiago Jung Bauermann <bauerman at linux.ibm.com>

Series applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list