]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: VMX: Switch to new Intel CPU model infrastructure
authorTony Luck <tony.luck@intel.com>
Mon, 20 May 2024 22:45:40 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 3 Jun 2024 16:10:43 +0000 (09:10 -0700)
commit0c468a6a020cc7d848af053ef13254005e289dd9
tree51cf9d327b832cf9403167799b312f8d9c8f363a
parent8387435bebacc33d01ca467fdef4b8aaf534b3db
KVM: VMX: Switch to new Intel CPU model infrastructure

Use x86_vfm (vendor, family, module) to detect CPUs that are affected by
PERF_GLOBAL_CTRL bugs instead of manually checking the family and model.
The new VFM infrastructure encodes all information in one handy location.

No functional change intended.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20240520224620.9480-10-tony.luck@intel.com
[sean: massage changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c