Commit 12930e3a authored by Joey Gouly's avatar Joey Gouly Committed by Will Deacon

powerpc/mm: add ARCH_PKEY_BITS to Kconfig

The new config option specifies how many bits are in each PKEY.
Signed-off-by: default avatarJoey Gouly <joey.gouly@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Acked-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20240822151113.1479789-2-joey.gouly@arm.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
parent 487355f1
...@@ -1026,6 +1026,10 @@ config PPC_MEM_KEYS ...@@ -1026,6 +1026,10 @@ config PPC_MEM_KEYS
If unsure, say y. If unsure, say y.
config ARCH_PKEY_BITS
int
default 5
config PPC_SECURE_BOOT config PPC_SECURE_BOOT
prompt "Enable secure boot support" prompt "Enable secure boot support"
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment