diff options
author | Babu Moger <babu.moger@amd.com> | 2020-05-28 18:08:23 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-05-28 18:27:40 +0200 |
commit | 38f3e775e9c242f5430a9c08c11be7577f63a41c (patch) | |
tree | 678b94f38307ba0dfe7037e2346c6f899f39ec8e /arch/x86/Kconfig | |
parent | x86/boot: Discard .discard.unreachable for arch/x86/boot/compressed/vmlinux (diff) | |
download | linux-38f3e775e9c242f5430a9c08c11be7577f63a41c.tar.xz linux-38f3e775e9c242f5430a9c08c11be7577f63a41c.zip |
x86/Kconfig: Update config and kernel doc for MPK feature on AMD
AMD's next generation of EPYC processors support the MPK (Memory
Protection Keys) feature. Update the dependency and documentation.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/159068199556.26992.17733929401377275140.stgit@naples-babu.amd.com
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1d6104ea8af0..968d23f3fc16 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1887,10 +1887,10 @@ config X86_UMIP results are dummy. config X86_INTEL_MEMORY_PROTECTION_KEYS - prompt "Intel Memory Protection Keys" + prompt "Memory Protection Keys" def_bool y # Note: only available in 64-bit mode - depends on CPU_SUP_INTEL && X86_64 + depends on X86_64 && (CPU_SUP_INTEL || CPU_SUP_AMD) select ARCH_USES_HIGH_VMA_FLAGS select ARCH_HAS_PKEYS ---help--- |