Commit bdb04a1a authored by Tony W Wang-oc's avatar Tony W Wang-oc Committed by Borislav Petkov
Browse files

x86/Kconfig: Drop vendor dependency for X86_UMIP



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: default avatarTony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1583733990-2587-1-git-send-email-TonyWWang-oc@zhaoxin.com
parent 11a48a5a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1875,7 +1875,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