x86/cpu: Set synthetic VMX cpufeatures during init_ia32_feat_ctl()
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 21 Dec 2019 04:45:06 +0000 (20:45 -0800)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Jan 2020 17:43:19 +0000 (18:43 +0100)
commit167a4894c113ebe6a1f8b24fa6f9fca849c77f8a
tree8e3237206404b9244578e42360e391f9178f51f2
parent14442a159cf488c05bd5639c9fd5665385b9ab39
x86/cpu: Set synthetic VMX cpufeatures during init_ia32_feat_ctl()

Set the synthetic VMX cpufeatures, which need to be kept to preserve
/proc/cpuinfo's ABI, in the common IA32_FEAT_CTL initialization code.
Remove the vendor code that manually sets the synthetic flags.

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-13-sean.j.christopherson@intel.com
arch/x86/kernel/cpu/centaur.c
arch/x86/kernel/cpu/feat_ctl.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/zhaoxin.c