On Fri, 02 Jun 2023 18:10:46 -0700, Sean Christopherson wrote: > v7 of AMD PMU v2 support. This includes the global_ovf_ctrl_mask => > global_status_mask rename that I *just* posted. I really wanted to apply > v6 and be done with this series, and so sent it out separately, but the > code movement from pmu_intel.c to common x86 was too buggy to do in fixup. > > Lightly tested (it's late, it's Friday). > > [...] Somewhat speculatively applied to kvm-x86 pmu. I'd really like to get a thumbs up that I didn't break anything, but I'm OOO later this week and want to get this into linux-next before I go offline. Holler if something is broken, this is the only thing sitting in "pmu" so it should be easy to massage if necessary. Thanks! [01/12] KVM: x86/pmu: Rename global_ovf_ctrl_mask to global_status_mask https://github.com/kvm-x86/linux/commit/53550b89220b [02/12] KVM: x86/pmu: Move reprogram_counters() to pmu.h https://github.com/kvm-x86/linux/commit/8de18543dfe3 [03/12] KVM: x86/pmu: Reject userspace attempts to set reserved GLOBAL_STATUS bits https://github.com/kvm-x86/linux/commit/30dab5c0b65e [04/12] KVM: x86/pmu: Move handling PERF_GLOBAL_CTRL and friends to common x86 https://github.com/kvm-x86/linux/commit/c85cdc1cc1ea [05/12] KVM: x86/pmu: Provide Intel PMU's pmc_is_enabled() as generic x86 code https://github.com/kvm-x86/linux/commit/13afa29ae489 [06/12] KVM: x86: Explicitly zero cpuid "0xa" leaf when PMU is disabled https://github.com/kvm-x86/linux/commit/6593039d33c1 [07/12] KVM: x86/pmu: Disable vPMU if the minimum num of counters isn't met https://github.com/kvm-x86/linux/commit/6a08083f294c [08/12] KVM: x86/pmu: Advertise PERFCTR_CORE iff the min nr of counters is met https://github.com/kvm-x86/linux/commit/d338d8789e64 [09/12] KVM: x86/pmu: Constrain the num of guest counters with kvm_pmu_cap https://github.com/kvm-x86/linux/commit/1c2bf8a6b045 [10/12] KVM: x86/cpuid: Add a KVM-only leaf to redirect AMD PerfMonV2 flag https://github.com/kvm-x86/linux/commit/fe8d76c1a6f0 [11/12] KVM: x86/svm/pmu: Add AMD PerfMonV2 support https://github.com/kvm-x86/linux/commit/4a2771895ca6 [12/12] KVM: x86/cpuid: Add AMD CPUID ExtPerfMonAndDbg leaf 0x80000022 https://github.com/kvm-x86/linux/commit/94cdeebd8211 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes