]> git.baikalelectronics.ru Git - kernel.git/commit
x86/zhaoxin: Use common IA32_FEAT_CTL MSR initialization
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 21 Dec 2019 04:45:01 +0000 (20:45 -0800)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Jan 2020 16:50:40 +0000 (17:50 +0100)
commit88f5928733f9c766dcf32e0e50ecace2fb4bb2e5
treef95b0fc84cd79249720aa34266757c74a0e10d11
parent515a0da55000a142e309e96cf5e8dc643aee2748
x86/zhaoxin: 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 Zhaoxin 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-8-sean.j.christopherson@intel.com
arch/x86/Kconfig.cpu
arch/x86/kernel/cpu/zhaoxin.c