]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/radix: Setup AMOR in HV mode to allow key 0
authorBalbir Singh <bsingharora@gmail.com>
Tue, 15 Nov 2016 06:56:14 +0000 (17:56 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 25 Nov 2016 04:01:31 +0000 (15:01 +1100)
commit06373d0b2219f1c0cc9a8948d0ae84a36bf41c2f
tree6641b7b9cadada6f94d1989e8f8ac1f9cd23e5dd
parent8f555e59db501badf0efe1eb3759bfa1aa4e7fc0
powerpc/mm/radix: Setup AMOR in HV mode to allow key 0

Setup AMOR (Authority Mask Override Register) in HV mode so that the
host and guest kernel can in turn setup IAMR.

This allows us to enable key 0 in a following patch.

Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/pgtable-radix.c