powerpc/kuap: Wire-up KUAP on 44x
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 Oct 2021 07:29:29 +0000 (09:29 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:41:20 +0000 (22:41 +1100)
commitf6fad4fb55936f0d613cea08341d187d691d6440
treeb10af7189bab0b9a03d2c0eeacc88c226ba4ca82
parent43afcf8f0101279cf4243bb4f9f9b249ddd8613c
powerpc/kuap: Wire-up KUAP on 44x

This adds KUAP support to 44x. This is done by checking
the content of SPRN_PID at the time it is read and written
into SPRN_MMUCR.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/7d6c3f1978a26feada74b084f651e8cf1e3b3a47.1634627931.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/head_44x.S
arch/powerpc/platforms/Kconfig.cputype