diff options
author | Sean Christopherson <[email protected]> | 2019-12-20 20:45:08 -0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-01-13 19:04:37 +0100 |
commit | 21bd3467a58ea51ccc0b1d9bcb86dadf1640a002 (patch) | |
tree | 8e012b46ae7da6386d3838e3a0c3a9c49cd97161 /scripts/bpf_helpers_doc.py | |
parent | 85c17291e2eb4903bf73e5d3f588f41dbcc6f115 (diff) |
KVM: VMX: Drop initialization of IA32_FEAT_CTL MSR
Remove KVM's code to initialize IA32_FEAT_CTL MSR when KVM is loaded now
that the MSR is initialized during boot on all CPUs that support VMX,
i.e. on all CPUs that can possibly load kvm_intel.
Note, don't WARN if IA32_FEAT_CTL is unlocked, even though the MSR is
unconditionally locked by init_ia32_feat_ctl(). KVM isn't tied directly
to a CPU vendor detection, whereas init_ia32_feat_ctl() is invoked if
and only if the CPU vendor is recognized and known to support VMX. As a
result, vmx_disabled_by_bios() may be reached without going through
init_ia32_feat_ctl() and thus without locking IA32_FEAT_CTL. This quirk
will be eliminated in a future patch.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions