]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/core: Plumb mediated PMU capability from x86_pmu to x86_pmu_cap
authorMingwei Zhang <mizhang@google.com>
Sat, 6 Dec 2025 00:16:47 +0000 (16:16 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 17 Dec 2025 12:31:06 +0000 (13:31 +0100)
commitc8824a95d9673763a0a9d642f8c79b2162296923
treed714efd213cf434873b5dba8f2e988b080a212ea
parentb456a6ba5756b6fb7e651775343e713bd08418e7
perf/x86/core: Plumb mediated PMU capability from x86_pmu to x86_pmu_cap

Plumb mediated PMU capability to x86_pmu_cap in order to let any kernel
entity such as KVM know that host PMU support mediated PMU mode and has
the implementation.

Signed-off-by: Mingwei Zhang <mizhang@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Xudong Hao <xudong.hao@intel.com>
Link: https://patch.msgid.link/20251206001720.468579-12-seanjc@google.com
arch/x86/events/core.c
arch/x86/include/asm/perf_event.h