x86/Kconfig: Drop vendor dependency for X86_UMIP
authorTony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Mon, 9 Mar 2020 06:06:30 +0000 (14:06 +0800)
committerBorislav Petkov <bp@suse.de>
Tue, 10 Mar 2020 09:10:53 +0000 (10:10 +0100)
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 <TonyWWang-oc@zhaoxin.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1583733990-2587-1-git-send-email-TonyWWang-oc@zhaoxin.com
arch/x86/Kconfig

index beea77046f9bab3eef998e8dd4c3248932dbc004..cb3633d243cb5aecfb4cf577aceb881391c92ea8 100644 (file)
@@ -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