diff options
| author | Yosry Ahmed <yosry@kernel.org> | 2026-05-27 23:47:05 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-27 18:58:00 -0700 |
| commit | c0d4c9c54c256cea13e3bea82127cc34b833ff08 (patch) | |
| tree | d2b1705d80fbb09d104134bc3166f2535e352247 /include/linux/timerqueue.h | |
| parent | 2ed72677a5c1025edb1398bbfda0f558ee19b4df (diff) | |
KVM: x86/pmu: Track mediated PMU counters with mode-specific enables
Instead of always checking of a counter needs to be disabled for
mode-specific reasons (e.g. Host-Only/Guest-Only bits in SVM), add a
bitmap to track such counters. Set the bit for counters using either
Host-Only or Guest-Only bits in EVENTSEL on SVM.
This bitmap will also be reused in following changes to selectively
apply changes to such counters.
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260527234711.4175166-12-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
