[PATCH -V1 08/24] powerpc: Use encode avpn where we need only avpn values

Paul Mackerras paulus at samba.org
Mon Mar 4 16:15:16 EST 2013


On Tue, Feb 26, 2013 at 01:34:58PM +0530, Aneesh Kumar K.V wrote:
> From: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
> 
> In all these cases we are doing something similar to
> 
> HPTE_V_COMPARE(hpte_v, want_v) which ignores the HPTE_V_LARGE bit
> 
> With MPSS support we would need actual page size to set HPTE_V_LARGE
> bit and that won't be available in most of these cases. Since we are ignoring
> HPTE_V_LARGE bit, use the  avpn value instead. There should not be any change
> in behaviour after this patch.
> 
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>

Acked-by: Paul Mackerras <paulus at samba.org>


More information about the Linuxppc-dev mailing list