Re: [PATCH 16/25] powerpc: Program HPTE key protection bits

2017-10-17 Thread Balbir Singh
On Fri, 8 Sep 2017 15:45:04 -0700 Ram Pai wrote: > Map the PTE protection key bits to the HPTE key protection bits, > while creating HPTE entries. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/book3s/64/mmu-hash.h |5 + > arch/powerpc/include/asm/mmu_context.h|

[PATCH 16/25] powerpc: Program HPTE key protection bits

2017-09-08 Thread Ram Pai
Map the PTE protection key bits to the HPTE key protection bits, while creating HPTE entries. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/book3s/64/mmu-hash.h |5 + arch/powerpc/include/asm/mmu_context.h|6 ++ arch/powerpc/include/asm/pkeys.h | 13