powerpc/kuep: Remove 'nosmep' boot time parameter except for book3s/64
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 Oct 2021 07:29:19 +0000 (09:29 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:41:18 +0000 (22:41 +1100)
commit165b09d1c51fd13c233ca97745c8e212471c1250
tree73ceeae37bc71d002c4a597bcb2d99af4af5413a
parent55fccb93b67684397edcb2258bf006157f59dcdd
powerpc/kuep: Remove 'nosmep' boot time parameter except for book3s/64

Deactivating KUEP at boot time is unrelevant for PPC32 and BOOK3E/64.

Remove it.

It allows to refactor setup_kuep() via a __weak function
that only PPC64s will overide for now.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Fix CONFIG_PPC_BOOKS_64 -> CONFIG_PPC_BOOK3S_64 typo]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/4c36df18b41c988c4512f45d96220486adbe4c99.1634627931.git.christophe.leroy@csgroup.eu
Documentation/admin-guide/kernel-parameters.txt
arch/powerpc/include/asm/kup.h
arch/powerpc/mm/book3s32/Makefile
arch/powerpc/mm/book3s32/kuep.c [deleted file]
arch/powerpc/mm/init-common.c
arch/powerpc/mm/nohash/44x.c
arch/powerpc/mm/nohash/8xx.c