Subject: Re: [PATCH kernel v2 1/4] Revert "powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests"

From: Thiago Jung Bauermann <[email-masked]>
Date: Mon, 16 Dec 2019 19:58:45 -0300

Hello Alexey,

Alexey Kardashevskiy <[email-masked]> writes:

> From: Ram Pai <[email-masked]>
>
> This reverts commit edea902c1c1efb855f77e041f9daf1abe7a9768a.
>
> At the time the change allowed direct DMA ops for secure VMs; however
> since then we switched on using SWIOTLB backed with IOMMU (direct mapping)
> and to make this work, we need dma_iommu_ops which handles all cases
> including TCE mapping I/O pages in the presence of an IOMMU.
>
> Fixes: edea902c1c1e ("powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests")
> Signed-off-by: Ram Pai <[email-masked]>
> [aik: added "revert" and "fixes:"]
> Signed-off-by: Alexey Kardashevskiy <[email-masked]>

Reviewed-by: Thiago Jung Bauermann <[email-masked]>
Tested-by: Thiago Jung Bauermann <[email-masked]>

-- 
Thiago Jung Bauermann
IBM Linux Technology Center