From: Joey Gouly Date: Thu, 22 Aug 2024 15:10:44 +0000 (+0100) Subject: powerpc/mm: add ARCH_PKEY_BITS to Kconfig X-Git-Tag: v6.12-rc1~221^2~2^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12930e3a86adbcee6b360d659645bce769d0fea1;p=thirdparty%2Flinux.git powerpc/mm: add ARCH_PKEY_BITS to Kconfig The new config option specifies how many bits are in each PKEY. Signed-off-by: Joey Gouly Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Cc: Aneesh Kumar K.V Cc: Naveen N. Rao Cc: linuxppc-dev@lists.ozlabs.org Acked-by: Michael Ellerman Link: https://lore.kernel.org/r/20240822151113.1479789-2-joey.gouly@arm.com Signed-off-by: Will Deacon --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index d7b09b064a8ac..8a4ee57cd4ef1 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -1026,6 +1026,10 @@ config PPC_MEM_KEYS If unsure, say y. +config ARCH_PKEY_BITS + int + default 5 + config PPC_SECURE_BOOT prompt "Enable secure boot support" bool