diff options
author | Ram Pai <linuxram@us.ibm.com> | 2018-01-18 17:50:28 -0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-20 22:58:59 +1100 |
commit | 0685f217afe8279a754490954b8dcc02cb763a5d (patch) | |
tree | cbc35c25b030810556cab663e3800679df98b53d /arch/powerpc/mm/pkeys.c | |
parent | 4d70b698f9575cea7fa52e1d8f5020beca869907 (diff) |
powerpc: cleanup AMR, IAMR when a key is allocated or freed
Cleanup the bits corresponding to a key in the AMR, and IAMR
register, when the key is newly allocated/activated or is freed.
We dont want some residual bits cause the hardware enforce
unintended behavior when the key is activated or freed.
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>
Diffstat (limited to 'arch/powerpc/mm/pkeys.c')
0 files changed, 0 insertions, 0 deletions