Skip to content

Commit 12930e3

Browse files
jgoulywilldeacon
authored andcommitted
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 <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Aneesh Kumar K.V <[email protected]> Cc: Naveen N. Rao <[email protected]> Cc: [email protected] Acked-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 487355f commit 12930e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/powerpc/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,10 @@ config PPC_MEM_KEYS
10261026

10271027
If unsure, say y.
10281028

1029+
config ARCH_PKEY_BITS
1030+
int
1031+
default 5
1032+
10291033
config PPC_SECURE_BOOT
10301034
prompt "Enable secure boot support"
10311035
bool

0 commit comments

Comments
 (0)