Patch Series

Subject KVM: x86: Add support for mediated vPMUs
Author seanjc@google.com
Date 2025-08-06 19:56:23 +0000 UTC
Version 5
Cc acme@kernel.org anup@brainfault.org aou@eecs.berkeley.edu chenhuacai@kernel.org dapeng1.mi@linux.intel.com hpa@zytor.com kan.liang@linux.intel.com kvm-riscv@lists.infradead.org kvm@vger.kernel.org kvmarm@lists.linux.dev linux-arm-kernel@lists.infradead.org linux-kernel@vger.kernel.org linux-perf-users@vger.kernel.org linux-riscv@lists.infradead.org loongarch@lists.linux.dev luto@kernel.org maobibo@loongson.cn maz@kernel.org mingo@redhat.com mizhang@google.com namhyung@kernel.org oliver.upton@linux.dev palmer@dabbelt.com paul.walmsley@sifive.com pbonzini@redhat.com peterz@infradead.org sandipan.das@amd.com seanjc@google.com xin@zytor.com xiong.y.zhang@linux.intel.com yongwei.ma@intel.com zhaotianrui@loongson.cn

Patches (44)

Name Content
[PATCH v5 01/44] perf: Skip pmu_ctx based on event_type [Body]
[PATCH v5 02/44] perf: Add generic exclude_guest support [Body]
[PATCH v5 03/44] perf: Move security_perf_event_free() call to __free_event() [Body]
[PATCH v5 04/44] perf: Add APIs to create/release mediated guest vPMUs [Body]
[PATCH v5 05/44] perf: Clean up perf ctx time [Body]
[PATCH v5 06/44] perf: Add a EVENT_GUEST flag [Body]
[PATCH v5 07/44] perf: Add APIs to load/put guest mediated PMU context [Body]
[PATCH v5 08/44] perf: core/x86: Register a new vector for handling mediated guest PMIs [Body]
[PATCH v5 09/44] perf/x86: Switch LVTPC to/from mediated PMI vector on guest load/put context [Body]
[PATCH v5 10/44] perf/x86/core: Do not set bit width for unavailable counters [Body]
[PATCH v5 11/44] perf/x86/core: Plumb mediated PMU capability from x86_pmu to x86_pmu_cap [Body]
[PATCH v5 12/44] perf/x86/intel: Support PERF_PMU_CAP_MEDIATED_VPMU [Body]
[PATCH v5 13/44] perf/x86/amd: Support PERF_PMU_CAP_MEDIATED_VPMU for AMD host [Body]
[PATCH v5 14/44] KVM: VMX: Setup canonical VMCS config prior to kvm_x86_vendor_init() [Body]
[PATCH v5 15/44] KVM: SVM: Check pmu->version, not enable_pmu, when getting PMC MSRs [Body]
[PATCH v5 16/44] KVM: Add a simplified wrapper for registering perf callbacks [Body]
[PATCH v5 17/44] KVM: x86/pmu: Snapshot host (i.e. perf's) reported PMU capabilities [Body]
[PATCH v5 18/44] KVM: x86/pmu: Start stubbing in mediated PMU support [Body]
[PATCH v5 19/44] KVM: x86/pmu: Implement Intel mediated PMU requirements and constraints [Body]
[PATCH v5 20/44] KVM: x86/pmu: Implement AMD mediated PMU requirements [Body]
[PATCH v5 21/44] KVM: x86/pmu: Register PMI handler for mediated vPMU [Body]
[PATCH v5 22/44] KVM: x86: Rename vmx_vmentry/vmexit_ctrl() helpers [Body]
[PATCH v5 23/44] KVM: x86/pmu: Move PMU_CAP_{FW_WRITES,LBR_FMT} into msr-index.h header [Body]
[PATCH v5 24/44] KVM: x86: Rework KVM_REQ_MSR_FILTER_CHANGED into a generic RECALC_INTERCEPTS [Body]
[PATCH v5 25/44] KVM: x86: Use KVM_REQ_RECALC_INTERCEPTS to react to CPUID updates [Body]
[PATCH v5 26/44] KVM: VMX: Add helpers to toggle/change a bit in VMCS execution controls [Body]
[PATCH v5 27/44] KVM: x86/pmu: Disable RDPMC interception for compatible mediated vPMU [Body]
[PATCH v5 28/44] KVM: x86/pmu: Load/save GLOBAL_CTRL via entry/exit fields for mediated PMU [Body]
[PATCH v5 29/44] KVM: x86/pmu: Use BIT_ULL() instead of open coded equivalents [Body]
[PATCH v5 30/44] KVM: x86/pmu: Move initialization of valid PMCs bitmask to common x86 [Body]
[PATCH v5 31/44] KVM: x86/pmu: Restrict GLOBAL_{CTRL,STATUS}, fixed PMCs, and PEBS to PMU v2+ [Body]
[PATCH v5 32/44] KVM: x86/pmu: Disable interception of select PMU MSRs for mediated vPMUs [Body]
[PATCH v5 33/44] KVM: x86/pmu: Bypass perf checks when emulating mediated PMU counter accesses [Body]
[PATCH v5 34/44] KVM: x86/pmu: Introduce eventsel_hw to prepare for pmu event filtering [Body]
[PATCH v5 35/44] KVM: x86/pmu: Reprogram mediated PMU event selectors on event filter updates [Body]
[PATCH v5 36/44] KVM: x86/pmu: Always stuff GuestOnly=1,HostOnly=0 for mediated PMCs on AMD [Body]
[PATCH v5 37/44] KVM: x86/pmu: Load/put mediated PMU context when entering/exiting guest [Body]
[PATCH v5 38/44] KVM: x86/pmu: Disallow emulation in the fastpath if mediated PMCs are active [Body]
[PATCH v5 39/44] KVM: x86/pmu: Handle emulated instruction for mediated vPMU [Body]
[PATCH v5 40/44] KVM: nVMX: Add macros to simplify nested MSR interception setting [Body]
[PATCH v5 41/44] KVM: nVMX: Disable PMU MSR interception as appropriate while running L2 [Body]
[PATCH v5 42/44] KVM: nSVM: Disable PMU MSR interception as appropriate while running L2 [Body]
[PATCH v5 43/44] KVM: x86/pmu: Expose enable_mediated_pmu parameter to user space [Body]
[PATCH v5 44/44] KVM: x86/pmu: Elide WRMSRs when loading guest PMCs if values already match [Body]

Session 2025-08-06

ID (for dev) 885db22e-9db1-4267-8c1b-2643626cb99d
Status skipped
Triaged Skipped: failed to find a base commit: series does not apply [Log]
Execution Log [Link]
Test Base Patched Verdict