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 <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: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20240822151113.1479789-2-joey.gouly@arm.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 487355f commit 12930e3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)