powerpc/44x: Activate KUEP at all time
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 Oct 2021 07:29:14 +0000 (09:29 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:41:17 +0000 (22:41 +1100)
commitee2631603fdbab6f76e86ea87f7a03ebc3a1ef85
treeced744dfae078e06f100c6f381e4e7989263f6d1
parent13dac4e31e75ce10b2fcaad4432a24dae6c955f6
powerpc/44x: Activate KUEP at all time

On 44x, KUEP is implemented by clearing SX bit during TLB miss
for user pages. The impact is minimal and not worth neither
boot time nor build time selection.

Activate it at all time.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2414d662558e7fb27d1ed41c8e47c591d576acac.1634627931.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/nohash/32/mmu-44x.h
arch/powerpc/kernel/head_44x.S
arch/powerpc/mm/nohash/44x.c
arch/powerpc/platforms/Kconfig.cputype