[PATCH v5 00/44] KVM: x86: Add support for mediated vPMUs
Sean Christopherson
seanjc at google.com
Thu Sep 18 17:10:50 PDT 2025
On Wed, 06 Aug 2025 12:56:22 -0700, Sean Christopherson wrote:
> This series is based on the fastpath+PMU cleanups series[*] (which is based on
> kvm/queue), but the non-KVM changes apply cleanly on v6.16 or Linus' tree.
> I.e. if you only care about the perf changes, I would just apply on whatever
> branch is convenient and stop when you hit the KVM changes.
>
> My hope/plan is that the perf changes will go through the tip tree with a
> stable tag/branch, and the KVM changes will go the kvm-x86 tree.
>
> [...]
Applied a subset (roughtly 1/4) of the KVM patches to kvm-x86 misc, as the full
thing is far too late for 6.18. In a nutshell, all of the random prep work and
cleanups that aren't directly related to mediated PMU support.
I want to get "setup VMCS prior to kvm_x86_vendor_init()" in particular landed
to establish the order of setup operations. The in-progress CET series moves
the _nested_ VMCS setup later, and I had a moment of panic that I was creating
incompatible patches.
[14/44] KVM: VMX: Setup canonical VMCS config prior to kvm_x86_vendor_init()
https://github.com/kvm-x86/linux/commit/4687a2c4e6a6
[15/44] KVM: SVM: Check pmu->version, not enable_pmu, when getting PMC MSRs
https://github.com/kvm-x86/linux/commit/e3d1f2826da6
[17/44] KVM: x86/pmu: Snapshot host (i.e. perf's) reported PMU capabilities
https://github.com/kvm-x86/linux/commit/51f34b1e650f
[22/44] KVM: x86: Rename vmx_vmentry/vmexit_ctrl() helpers
https://github.com/kvm-x86/linux/commit/1e24bece2681
[23/44] KVM: x86/pmu: Move PMU_CAP_{FW_WRITES,LBR_FMT} into msr-index.h header
https://github.com/kvm-x86/linux/commit/cdfed9370b96
[24/44] KVM: x86: Rework KVM_REQ_MSR_FILTER_CHANGED into a generic RECALC_INTERCEPTS
https://github.com/kvm-x86/linux/commit/6057497336bb
[25/44] KVM: x86: Use KVM_REQ_RECALC_INTERCEPTS to react to CPUID updates
https://github.com/kvm-x86/linux/commit/5a1a726e68ff
[26/44] KVM: VMX: Add helpers to toggle/change a bit in VMCS execution controls
https://github.com/kvm-x86/linux/commit/2bff2edf69ed
[29/44] KVM: x86/pmu: Use BIT_ULL() instead of open coded equivalents
https://github.com/kvm-x86/linux/commit/30c0267f1581
[30/44] KVM: x86/pmu: Move initialization of valid PMCs bitmask to common x86
https://github.com/kvm-x86/linux/commit/9bae7a086394
[31/44] KVM: x86/pmu: Restrict GLOBAL_{CTRL,STATUS}, fixed PMCs, and PEBS to PMU v2+
https://github.com/kvm-x86/linux/commit/c49aa9837686
--
https://github.com/kvm-x86/linux/tree/next
More information about the kvm-riscv
mailing list