]> asedeno.scripts.mit.edu Git - linux.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)
commit1b4037deadb64e3a26c02f0e9852c257ee92a6e3
tree9a5ed445bca466f499750ffe6976a4a97fd89456
parent4fb158f65ac5556b9b4a6f63f38272853ed99b22
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