From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41WNmy5f4NzDq6t for ; Thu, 19 Jul 2018 16:06:10 +1000 (AEST) In-Reply-To: <20180717071913.2167-2-aik@ozlabs.ru> To: Alexey Kardashevskiy , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Alexey Kardashevskiy , Nicholas Piggin , kvm-ppc@vger.kernel.org, Alex Williamson , "Aneesh Kumar K.V" , David Gibson Subject: Re: [kernel, v7, 1/2] vfio/spapr: Use IOMMU pageshift rather than pagesize Message-Id: <41WNmy1B2zz9s1R@ozlabs.org> Date: Thu, 19 Jul 2018 16:06:10 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 cheers From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Date: Thu, 19 Jul 2018 06:06:10 +0000 Subject: Re: [kernel,v7,1/2] vfio/spapr: Use IOMMU pageshift rather than pagesize Message-Id: <41WNmy1B2zz9s1R@ozlabs.org> List-Id: In-Reply-To: <20180717071913.2167-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 , Nicholas Piggin , kvm-ppc@vger.kernel.org, Alex Williamson , "Aneesh Kumar K.V" , David Gibson 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 cheers