mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: x86/pmu: Fix a fixed PMC event filter bypass bug
@ 2026-06-03 23:19 Sean Christopherson
  2026-06-03 23:19 ` [PATCH 1/2] KVM: x86/pmu: Use hardware value when reprogramming for FIXED_CTR_CTRL changes Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Christopherson @ 2026-06-03 23:19 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini; +Cc: kvm, linux-kernel, Sashiko

Fix a bug reported by Sashiko, where KVM will effectively ignore PMU event
filters for fixed counters if FIXED_CTR_CTRL is changing, but enable bits
for denied counters are NOT changing.

Sean Christopherson (2):
  KVM: x86/pmu: Use hardware value when reprogramming for FIXED_CTR_CTRL
    changes
  KVM: selftests: Add regression test for mediated PMU fixed counter
    filter bug

 arch/x86/kvm/vmx/pmu_intel.c                           | 10 +++++++++-
 .../testing/selftests/kvm/x86/pmu_event_filter_test.c  |  6 ++++++
 2 files changed, 15 insertions(+), 1 deletion(-)


base-commit: d4bfaa66fa171089b9b9fb2dc17af9245f2b9b34
-- 
2.54.0.1032.g2f8565e1d1-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-09 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 23:19 [PATCH 0/2] KVM: x86/pmu: Fix a fixed PMC event filter bypass bug Sean Christopherson
2026-06-03 23:19 ` [PATCH 1/2] KVM: x86/pmu: Use hardware value when reprogramming for FIXED_CTR_CTRL changes Sean Christopherson
2026-06-03 23:19 ` [PATCH 2/2] KVM: selftests: Add regression test for mediated PMU fixed counter filter bug Sean Christopherson
2026-06-09 16:31 ` [PATCH 0/2] KVM: x86/pmu: Fix a fixed PMC event filter bypass bug Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®