]> 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)
commit8feb18b426954dc73da4415a53b62d50d8ba1e94
tree9a5ed445bca466f499750ffe6976a4a97fd89456
parentff3403724bc63a1cd10e6bb775cec2a95ebf3696
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