From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Date: Fri, 20 Jul 2018 03:06:02 +0000 Subject: Re: [kernel,v7,1/2] vfio/spapr: Use IOMMU pageshift rather than pagesize Message-Id: <20180720030602.GA16075@fergus> List-Id: References: <20180717071913.2167-2-aik@ozlabs.ru> <41WNmy1B2zz9s1R@ozlabs.org> In-Reply-To: <41WNmy1B2zz9s1R@ozlabs.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael Ellerman Cc: Alexey Kardashevskiy , linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , kvm-ppc@vger.kernel.org, Alex Williamson , "Aneesh Kumar K.V" , David Gibson On Thu, Jul 19, 2018 at 04:06:10PM +1000, Michael Ellerman wrote: > On Tue, 2018-07-17 at 07:19:12 UTC, Alexey Kardashevskiy wrote: > > The size is always equal to 1 page so let's use this. Later on this will > > be used for other checks which use page shifts to check the granularity > > of access. > > > > This should cause no behavioral change. > > > > Reviewed-by: David Gibson > > Acked-by: Alex Williamson > > Signed-off-by: Alexey Kardashevskiy > > Applied to powerpc fixes, thanks. > > https://git.kernel.org/powerpc/c/1463edca6734d42ab4406fa2896e20 Ah. I have put these two patches in my kvm-ppc-next branch and I was about to send a pull request to Paolo. Paul.