Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-22 Thread Paul Mackerras
On Mon, Jul 09, 2012 at 06:43:33PM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This patch convert different functions to take virtual page number instead of virtual address. Virtual page number is virtual address shifted right by VPN_SHIFT (12) bits.

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-22 Thread Aneesh Kumar K.V
Paul Mackerras pau...@samba.org writes: On Mon, Jul 09, 2012 at 06:43:33PM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This patch convert different functions to take virtual page number instead of virtual address. Virtual page number is virtual

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-10 Thread Aneesh Kumar K.V
Stephen Rothwell s...@canb.auug.org.au writes: Hi Aneesh, On Mon, 9 Jul 2012 18:43:33 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h index 1c65a59..1c984a6 100644 ---

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-10 Thread Aneesh Kumar K.V
Stephen Rothwell s...@canb.auug.org.au writes: Hi Aneesh, On Mon, 9 Jul 2012 18:43:33 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c index 660b8bb..308e29d 100644 ---

[PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-09 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com This patch convert different functions to take virtual page number instead of virtual address. Virtual page number is virtual address shifted right by VPN_SHIFT (12) bits. This enable us to have an address range of upto 76 bits.

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-09 Thread Stephen Rothwell
Hi Aneesh, On Mon, 9 Jul 2012 18:43:33 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h index 1c65a59..1c984a6 100644 --- a/arch/powerpc/include/asm/mmu-hash64.h +++

Re: [PATCH -V3 03/11] arch/powerpc: Convert virtual address to vpn

2012-07-09 Thread Stephen Rothwell
Hi Aneesh, On Mon, 9 Jul 2012 18:43:33 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c index 660b8bb..308e29d 100644 --- a/arch/powerpc/mm/hash_native_64.c +++