powerpc: Program HPTE key protection bits
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:36 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:03 +0000 (22:59 +1100)
commita6590ca55f1f49912e17e4811ccae9a51bda8859
treebf406906eb4c82c0c7a7e25607e865a0206d0251
parenteb95d016ce3d3404e061c7c85d4362094dc34b3f
powerpc: Program HPTE key protection bits

Map the PTE protection key bits to the HPTE key protection bits,
while creating HPTE  entries.

Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/include/asm/mmu_context.h
arch/powerpc/include/asm/pkeys.h
arch/powerpc/mm/hash_utils_64.c