[GIT PULL] x86/cpu changes for v5.6
From: Ingo Molnar
Date: Tue Jan 28 2020 - 12:57:57 EST
Linus,
Please pull the latest x86-cpu-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-for-linus
# HEAD: 283bab9809786cf41798512f5c1e97f4b679ba96 x86/cpu: Remove redundant cpu_detect_cache_sizes() call
The biggest change in this cycle was a large series from Sean
Christopherson to clean up the handling of VMX features. This both fixes
bugs/inconsistencies and makes the code more coherent and future-proof.
There are also two cleanups and a minor TSX syslog messages enhancement.
Thanks,
Ingo
------------------>
Borislav Petkov (2):
x86/bugs: Move enum taa_mitigations to bugs.c
x86/cpu/tsx: Define pr_fmt()
Sean Christopherson (20):
x86/msr-index: Clean up bit defines for IA32_FEATURE_CONTROL MSR
selftests, kvm: Replace manual MSR defs with common msr-index.h
tools/x86: Sync msr-index.h from kernel sources
x86/intel: Initialize IA32_FEAT_CTL MSR at boot
x86/mce: WARN once if IA32_FEAT_CTL MSR is left unlocked
x86/centaur: Use common IA32_FEAT_CTL MSR initialization
x86/zhaoxin: Use common IA32_FEAT_CTL MSR initialization
x86/cpu: Clear VMX feature flag if VMX is not fully enabled
x86/vmx: Introduce VMX_FEATURES_*
x86/cpu: Detect VMX features on Intel, Centaur and Zhaoxin CPUs
x86/cpu: Print VMX flags in /proc/cpuinfo using VMX_FEATURES_*
x86/cpu: Set synthetic VMX cpufeatures during init_ia32_feat_ctl()
x86/cpufeatures: Add flag to track whether MSR IA32_FEAT_CTL is configured
KVM: VMX: Drop initialization of IA32_FEAT_CTL MSR
KVM: VMX: Use VMX feature flag to query BIOS enabling
KVM: VMX: Check for full VMX support when verifying CPU compatibility
KVM: VMX: Use VMX_FEATURE_* flags to define VMCS control bits
perf/x86: Provide stubs of KVM helpers for non-Intel CPUs
KVM: VMX: Allow KVM_INTEL when building for Centaur and/or Zhaoxin CPUs
x86/cpu: Print "VMX disabled" error message iff KVM is enabled
Tony W Wang-oc (1):
x86/cpu: Remove redundant cpu_detect_cache_sizes() call