]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f002d7aadc6cf49eb1b4bc65a039ca4db2b7ba7
treebf406906eb4c82c0c7a7e25607e865a0206d0251
parent3151dc7e6992727c51bc7d81997c6b9f991c2836
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