Skip to content

Commit 5626f8d

Browse files
jgoulywilldeacon
authored andcommitted
x86/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: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: [email protected] Acked-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 12930e3 commit 5626f8d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/x86/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,6 +1889,10 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS
18891889

18901890
If unsure, say y.
18911891

1892+
config ARCH_PKEY_BITS
1893+
int
1894+
default 4
1895+
18921896
choice
18931897
prompt "TSX enable mode"
18941898
depends on CPU_SUP_INTEL

0 commit comments

Comments
 (0)