]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/32s: Remove capability to disable KUEP at boottime
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 Oct 2021 07:29:16 +0000 (09:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 09:58:58 +0000 (11:58 +0200)
commitd00f4ae3accfed3fb5763dd600efc6d26bbadabe
treebe799f9ec17b2f962a713088c62682d5382b2934
parentfcb3f09e817345ce629b895f7a96ae90eb32ec9d
powerpc/32s: Remove capability to disable KUEP at boottime

[ Upstream commit df415cd758261bceff27f34a145dd8328bbfb018 ]

Disabling KUEP at boottime makes things unnecessarily complex.

Still allow disabling KUEP at build time, but when it's built-in
it is always there.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/96f583f82423a29a4205c60b9721079111b35567.1634627931.git.christophe.leroy@csgroup.eu
Stable-dep-of: f0eee815babe ("powerpc/47x: Fix 47x syscall return crash")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/include/asm/book3s/32/kup.h
arch/powerpc/mm/book3s32/kuep.c