]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: helper to validate key-access permissions of a pte
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:37 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:59:03 +0000 (22:59 +1100)
commit58508581286ae839dfa5db477ea0f11f1688f721
tree5883038293a5e98317f3cd8bf161f62493cd6926
parent4f002d7aadc6cf49eb1b4bc65a039ca4db2b7ba7
powerpc: helper to validate key-access permissions of a pte

helper function that checks if the read/write/execute is allowed
on the pte.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/pkeys.h
arch/powerpc/mm/pkeys.c