The new config option specifies how many bits are in each PKEY. Signed-off-by: Joey Gouly <joey.go...@arm.com> Cc: Michael Ellerman <m...@ellerman.id.au> Cc: Nicholas Piggin <npig...@gmail.com> Cc: Christophe Leroy <christophe.le...@csgroup.eu> Cc: "Aneesh Kumar K.V" <aneesh.ku...@kernel.org> Cc: "Naveen N. Rao" <naveen.n....@linux.ibm.com> Cc: linuxppc-...@lists.ozlabs.org Acked-by: Michael Ellerman <m...@ellerman.id.au> --- arch/powerpc/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git arch/powerpc/Kconfig arch/powerpc/Kconfig index d7b09b064a8a..8a4ee57cd4ef 100644 --- arch/powerpc/Kconfig +++ 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 -- 2.25.1