]> 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)
commit40903dcd77056dbb2e296e7f3a211a01fee2cc8d
treebf406906eb4c82c0c7a7e25607e865a0206d0251
parenta673fb62bf4a6fbf82fd1521a61aa52b5646157f
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