powerpc/uaccess: Don't set KUEP by default on book3s/32
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 15 Apr 2020 14:57:11 +0000 (14:57 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:14 +0000 (20:59 +1000)
commitc3ba4dbbd1d05b49ec01efe098e0a78857d3ce22
tree72ea7c2c5aef7af96c254d864415d58abc1d524e
parent547e687b2981a115814962506068873d24983af7
powerpc/uaccess: Don't set KUEP by default on book3s/32

On book3s/32, KUEP is an heavy process as it requires to
set/unset the NX bit in each of the 12 user segments
everytime the kernel is entered/exited from/to user space.

Don't select KUEP by default on book3s/32.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1492bb150c1aaa53d99a604b49992e60ea20cd5f.1586962582.git.christophe.leroy@c-s.fr
arch/powerpc/platforms/Kconfig.cputype