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

2019-07-07 Thread Michael Ellerman
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. >

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

2019-06-18 Thread Thiago Jung Bauermann
Alexey Kardashevskiy writes: > On 11/05/2019 08:36, Thiago Jung Bauermann wrote: >> >> Alexey Kardashevskiy writes: >> >>> 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

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

2019-05-13 Thread Alexey Kardashevskiy
On 11/05/2019 08:36, Thiago Jung Bauermann wrote: > > Alexey Kardashevskiy writes: > >> 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

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

2019-05-10 Thread Thiago Jung Bauermann
Alexey Kardashevskiy writes: > 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

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

2019-05-07 Thread Alexey Kardashevskiy
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