From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Subject: Re: [kernel, v7, 1/7] powerpc/iommu: Pass mm_struct to init/cleanup helpers Date: Sat, 3 Dec 2016 22:28:20 +1100 (AEDT) Message-ID: <3tW80N3VT7z9t1d@ozlabs.org> References: <1480488725-12783-2-git-send-email-aik@ozlabs.ru> Cc: Alexey Kardashevskiy , Alex Williamson , Paul Mackerras , kvm@vger.kernel.org, David Gibson To: Alexey Kardashevskiy , linuxppc-dev@lists.ozlabs.org Return-path: Received: from ozlabs.org ([103.22.144.67]:42017 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbcLCL2W (ORCPT ); Sat, 3 Dec 2016 06:28:22 -0500 In-Reply-To: <1480488725-12783-2-git-send-email-aik@ozlabs.ru> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2016-11-30 at 06:51:59 UTC, Alexey Kardashevskiy wrote: > We are going to get rid of @current references in mmu_context_boos3s64.c > and cache mm_struct in the VFIO container. Since mm_context_t does not > have reference counting, we will be using mm_struct which does have > the reference counter. > > This changes mm_iommu_init/mm_iommu_cleanup to receive mm_struct rather > than mm_context_t (which is embedded into mm). > > This should not cause any behavioral change. > > Signed-off-by: Alexey Kardashevskiy > Reviewed-by: David Gibson Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/88f54a3581eb9deaa3bd1aade40aef cheers