On Tue, 24 Jan 2023 23:48:59 +0000, Sean Christopherson wrote: > Fix a handful of minor PMU MSR issues, mostly related to KVM's reporting > and handling of MSRs when the PMU is disabled. E.g. running the > state_test selftest with enable_pmu=0 fails because KVM tells userspace > to save/restore the fixed counter MSRs, but then rejects attempts to > access said MSRs from userspace. > > > [...] Applied to kvm-x86 pmu. As mentioned in the cover letter (trimmed by b4), I'll yank these out of the queue if any objects and/or there are problems. [1/6] KVM: x86/pmu: Cap kvm_pmu_cap.num_counters_gp at KVM's internal max https://github.com/kvm-x86/linux/commit/8911ce66697e [2/6] KVM: x86/pmu: Gate all "unimplemented MSR" prints on report_ignored_msrs https://github.com/kvm-x86/linux/commit/e76ae52747a8 [3/6] KVM: x86/pmu: Use separate array for defining "PMU MSRs to save" https://github.com/kvm-x86/linux/commit/2374b7310b66 [4/6] KVM: x86/pmu: Don't tell userspace to save PMU MSRs if PMU is disabled https://github.com/kvm-x86/linux/commit/c3531edc79a7 [5/6] KVM: x86/pmu: Don't tell userspace to save MSRs for non-existent fixed PMCs https://github.com/kvm-x86/linux/commit/e33b6d79acac [6/6] KVM: x86/pmu: Provide "error" semantics for unsupported-but-known PMU MSRs https://github.com/kvm-x86/linux/commit/2de154f541fc -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes