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

This adds KUAP support to book3e/64.
This is done by reading the content of SPRN_MAS1 and checking
the TID at the time user pgtable is loaded.

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