From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Date: Mon, 06 Jan 2020 23:33:18 +0000 Subject: Re: [PATCH kernel v2 1/4] Revert "powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests" Message-Id: <47sBdp41NSz9sRf@ozlabs.org> List-Id: In-Reply-To: <20191216041924.42318-2-aik@ozlabs.ru> References: <20191216041924.42318-2-aik@ozlabs.ru> In-Reply-To: <20191216041924.42318-2-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexey Kardashevskiy , linuxppc-dev@lists.ozlabs.org Cc: Alexey Kardashevskiy , Michael Anderson , Ram Pai , kvm-ppc@vger.kernel.org, Thiago Jung Bauermann , David Gibson On Mon, 2019-12-16 at 04:19:21 UTC, Alexey Kardashevskiy wrote: > From: Ram Pai > > 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 > [aik: added "revert" and "fixes:"] > Signed-off-by: Alexey Kardashevskiy Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/d862b44133b7a1d7de25288e09eabf4df415e971 cheers