summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.cpu
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-12-21 05:45:00 +0100
committerBorislav Petkov <bp@suse.de>2020-01-13 17:48:36 +0100
commit501444905fcb4166589fda99497c273ac5efc65e (patch)
treea2d4ebdfdb37b900003c3a549344824bf15b7606 /arch/x86/Kconfig.cpu
parentx86/mce: WARN once if IA32_FEAT_CTL MSR is left unlocked (diff)
downloadlinux-501444905fcb4166589fda99497c273ac5efc65e.tar.xz
linux-501444905fcb4166589fda99497c273ac5efc65e.zip
x86/centaur: Use common IA32_FEAT_CTL MSR initialization
Use the recently added IA32_FEAT_CTL MSR initialization sequence to opportunistically enable VMX support when running on a Centaur CPU. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20191221044513.21680-7-sean.j.christopherson@intel.com
Diffstat (limited to 'arch/x86/Kconfig.cpu')
-rw-r--r--arch/x86/Kconfig.cpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu
index 98be76fa2978..cba5b64266df 100644
--- a/arch/x86/Kconfig.cpu
+++ b/arch/x86/Kconfig.cpu
@@ -389,7 +389,7 @@ config X86_DEBUGCTLMSR
config IA32_FEAT_CTL
def_bool y
- depends on CPU_SUP_INTEL
+ depends on CPU_SUP_INTEL || CPU_SUP_CENTAUR
menuconfig PROCESSOR_SELECT
bool "Supported processor vendors" if EXPERT