From c38d3c179889adcb473b722aff968251786cbe02 Mon Sep 17 00:00:00 2001 From: LeoLiu-oc Date: Sun, 21 Mar 2021 14:22:57 +0800 Subject: [PATCH 2913/2944] x86/Kconfig: Drop vendor dependency for X86_UMIP commit bdb04a1abbf92c998f1afb5f00a037f2edaec1f7 upstream. Some Centaur family 7 CPUs and Zhaoxin family 7 CPUs support the UMIP feature too. The text size growth which UMIP adds is ~1K and distro kernels enable it anyway so remove the vendor dependency. [ bp: Rewrite commit message. ] Signed-off-by: Tony W Wang-oc Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/1583733990-2587-1-git-send-email-TonyWWang-oc@zhaoxin.com Signed-off-by: LeoLiu-oc Reviewed-by: Artie Ding --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 6a65d74..d67aac7 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1859,7 +1859,6 @@ config X86_SMAP config X86_UMIP def_bool y - depends on CPU_SUP_INTEL || CPU_SUP_AMD prompt "User Mode Instruction Prevention" if EXPERT ---help--- User Mode Instruction Prevention (UMIP) is a security feature in -- 1.8.3.1