A small collection of PMU cleanups. The following changes since commit c3f38fa61af77b49866b006939479069cd451173: Linux 6.10-rc2 (2024-06-02 15:44:56 -0700) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-pmu-6.11 for you to fetch changes up to f287bef6ddc208cae49c8d3833aeecda47872608: KVM: x86/pmu: Introduce distinct macros for GP/fixed counter max number (2024-06-28 09:12:16 -0700) ---------------------------------------------------------------- KVM x86/pmu changes for 6.11 - Don't advertise IA32_PERF_GLOBAL_OVF_CTRL as an MSR-to-be-saved, as it reads '0' and writes from userspace are ignored. - Update to the newfangled Intel CPU FMS infrastructure. - Use macros instead of open-coded literals to clean up KVM's manipulation of FIXED_CTR_CTRL MSRs. ---------------------------------------------------------------- Dapeng Mi (3): KVM: x86/pmu: Change ambiguous _mask suffix to _rsvd in kvm_pmu KVM: x86/pmu: Manipulate FIXED_CTR_CTRL MSR with macros KVM: x86/pmu: Introduce distinct macros for GP/fixed counter max number Jim Mattson (1): KVM: x86: Remove IA32_PERF_GLOBAL_OVF_CTRL from KVM_GET_MSR_INDEX_LIST Sean Christopherson (1): KVM: x86/pmu: Add a helper to enable bits in FIXED_CTR_CTRL Tony Luck (2): KVM: x86/pmu: Switch to new Intel CPU model defines KVM: VMX: Switch to new Intel CPU model infrastructure arch/x86/include/asm/kvm_host.h | 30 +++++++++++++----------- arch/x86/kvm/pmu.c | 36 ++++++++++++++-------------- arch/x86/kvm/pmu.h | 10 ++++---- arch/x86/kvm/svm/pmu.c | 11 ++++----- arch/x86/kvm/vmx/pmu_intel.c | 52 +++++++++++++++++++++++------------------ arch/x86/kvm/vmx/vmx.c | 20 +++++++--------- arch/x86/kvm/x86.c | 17 ++++++++------ 7 files changed, 94 insertions(+), 82 deletions(-)