All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/Kconfig: make X86_UMIP to cover any X86 CPU
@ 2020-03-09  6:06 Tony W Wang-oc
  2020-03-09 20:36 ` Borislav Petkov
  2020-03-10  9:15 ` [tip: x86/cpu] x86/Kconfig: Drop vendor dependency for X86_UMIP tip-bot2 for Tony W Wang-oc
  0 siblings, 2 replies; 8+ messages in thread
From: Tony W Wang-oc @ 2020-03-09  6:06 UTC (permalink / raw)
  To: tglx, mingo, bp, hpa, x86, linux-kernel
  Cc: DavidWang, CooperYan, QiyuanWang, HerryYang, CobeChen

While the UMIP (User-Mode Instruction Prevention) is a generic X86 CPU
feature, there is no need to tie X86_UMIP only to Intel and AMD.

So remove that dependency from the Kconfig rules.

Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
---
 arch/x86/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 5ad3957..ca16b762 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1871,7 +1871,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
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-10 10:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-09  6:06 [PATCH] x86/Kconfig: make X86_UMIP to cover any X86 CPU Tony W Wang-oc
2020-03-09 20:36 ` Borislav Petkov
2020-03-10  0:25   ` H. Peter Anvin
2020-03-10  7:24     ` Tony W Wang-oc
2020-03-10  9:09       ` Borislav Petkov
2020-03-10 10:09         ` Tony W Wang-oc
2020-03-10  9:08     ` Borislav Petkov
2020-03-10  9:15 ` [tip: x86/cpu] x86/Kconfig: Drop vendor dependency for X86_UMIP tip-bot2 for Tony W Wang-oc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.