public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/4] x86/pmu: PEBS fixes and new testcases
@ 2024-03-06 23:01 Sean Christopherson
  2024-03-06 23:01 ` [kvm-unit-tests PATCH 1/4] x86/pmu: Enable PEBS on fixed counters iff baseline PEBS is support Sean Christopherson
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Sean Christopherson @ 2024-03-06 23:01 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Sean Christopherson, Like Xu, Mingwei Zhang, Zhenyu Wang,
	Zhang Xiong, Lv Zhiyuan, Dapeng Mi

One bug fix where pmu_pebs attempts to enable PEBS for fixed counter on
CPUs without Extended PEBS, and two new testcases to verify adaptive
PEBS functionality.

The new testcases are intended both to demonstrate that adaptive PEBS
virtualization is currently broken, and to serve as a gatekeeper for
re-enabling adapative PEBS in the future.

https://lore.kernel.org/all/ZeepGjHCeSfadANM@google.com

Sean Christopherson (4):
  x86/pmu: Enable PEBS on fixed counters iff baseline PEBS is support
  x86/pmu: Iterate over adaptive PEBS flag combinations
  x86/pmu: Test adaptive PEBS without any adaptive counters
  x86/pmu: Add a PEBS test to verify the host LBRs aren't leaked to the
    guest

 lib/x86/pmu.h  |   6 ++-
 x86/pmu_pebs.c | 109 +++++++++++++++++++++++++++----------------------
 2 files changed, 66 insertions(+), 49 deletions(-)


base-commit: 55dd01b4f066577b49f03fb7146723c4a65822c4
-- 
2.44.0.278.ge034bb2e1d-goog


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

end of thread, other threads:[~2024-06-06  0:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 23:01 [kvm-unit-tests PATCH 0/4] x86/pmu: PEBS fixes and new testcases Sean Christopherson
2024-03-06 23:01 ` [kvm-unit-tests PATCH 1/4] x86/pmu: Enable PEBS on fixed counters iff baseline PEBS is support Sean Christopherson
2024-03-07  9:22   ` Mi, Dapeng
2024-03-06 23:01 ` [kvm-unit-tests PATCH 2/4] x86/pmu: Iterate over adaptive PEBS flag combinations Sean Christopherson
2024-03-06 23:01 ` [kvm-unit-tests PATCH 3/4] x86/pmu: Test adaptive PEBS without any adaptive counters Sean Christopherson
2024-03-07  9:08   ` Like Xu
2024-03-07  9:28   ` Mi, Dapeng
2024-06-05 16:17     ` Sean Christopherson
2024-03-07 10:00   ` Mi, Dapeng
2024-03-06 23:01 ` [kvm-unit-tests PATCH 4/4] x86/pmu: Add a PEBS test to verify the host LBRs aren't leaked to the guest Sean Christopherson
2024-03-07  9:23   ` Like Xu
2024-03-07  9:31   ` Mi, Dapeng
2024-03-07  9:22 ` [kvm-unit-tests PATCH 0/4] x86/pmu: PEBS fixes and new testcases Mi, Dapeng
2024-06-05 23:20 ` Sean Christopherson
2024-06-06  0:51   ` Mi, Dapeng1

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