Re: [RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-11 Thread Anshuman Khandual
On 07/10/2017 11:25 AM, Ram Pai wrote: > On Mon, Jul 10, 2017 at 08:41:30AM +0530, Anshuman Khandual wrote: >> On 07/06/2017 02:52 AM, Ram Pai wrote: >>> get_pte_pkey() helper returns the pkey associated with >>> a address corresponding to a given mm_struct. >>> >>> Signed-off-by: Ram Pai

Re: [RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-09 Thread Ram Pai
On Mon, Jul 10, 2017 at 08:41:30AM +0530, Anshuman Khandual wrote: > On 07/06/2017 02:52 AM, Ram Pai wrote: > > get_pte_pkey() helper returns the pkey associated with > > a address corresponding to a given mm_struct. > > > > Signed-off-by: Ram Pai > > --- > >

Re: [RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-09 Thread Anshuman Khandual
On 07/06/2017 02:52 AM, Ram Pai wrote: > get_pte_pkey() helper returns the pkey associated with > a address corresponding to a given mm_struct. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/book3s/64/mmu-hash.h |5 > arch/powerpc/mm/hash_utils_64.c

[RFC v5 31/38] powerpc: introduce get_pte_pkey() helper

2017-07-05 Thread Ram Pai
get_pte_pkey() helper returns the pkey associated with a address corresponding to a given mm_struct. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/book3s/64/mmu-hash.h |5 arch/powerpc/mm/hash_utils_64.c | 28 + 2 files