]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: helper function to read, write AMR, IAMR, UAMOR registers
authorRam Pai <linuxram@us.ibm.com>
Fri, 19 Jan 2018 01:50:26 +0000 (17:50 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 20 Jan 2018 11:58:58 +0000 (22:58 +1100)
commit06c9600dd53c17a48c384efb5bf970840702a795
tree9a5ed445bca466f499750ffe6976a4a97fd89456
parenta6e576dd424152df474393f78f989f5364d8d602
powerpc: helper function to read, write AMR, IAMR, UAMOR registers

Implements helper functions to read and write the key related
registers; AMR, IAMR, UAMOR.

AMR register tracks the read,write permission of a key
IAMR register tracks the execute permission of a key
UAMOR register enables and disables a key

Acked-by: Balbir Singh <bsingharora@gmail.com>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pkeys.c