All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v7 00/18] x86/pmu: Fixes and improvements
@ 2025-02-15  1:36 Sean Christopherson
  2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 01/18] x86: pmu: Remove duplicate code in pmu_init() Sean Christopherson
                   ` (19 more replies)
  0 siblings, 20 replies; 23+ messages in thread
From: Sean Christopherson @ 2025-02-15  1:36 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: kvm, Jim Mattson, Xiong Zhang, Dapeng Mi, Mingwei Zhang,
	Sean Christopherson

v7 of Dapeng's PMU fixes/cleanups series.  FWIW, I haven't gone through the
changes all that carefully, I mostly focused on the high level "what" and the
style.

This blows up without the per-CPU fixes:
https://lore.kernel.org/all/20250215012032.1206409-1-seanjc@google.com

v7:
 - Rewrite the changelog for the patch that shrinks the size of pmu_counter_t.
 - Cosmetic changes.

v6: https://lore.kernel.org/all/20240914101728.33148-1-dapeng1.mi@linux.intel.com

Dapeng Mi (17):
  x86: pmu: Remove blank line and redundant space
  x86: pmu: Refine fixed_events[] names
  x86: pmu: Align fields in pmu_counter_t to better pack the struct
  x86: pmu: Enlarge cnt[] length to 48 in check_counters_many()
  x86: pmu: Print measured event count if test fails
  x86: pmu: Fix potential out of bound access for fixed events
  x86: pmu: Fix cycles event validation failure
  x86: pmu: Use macro to replace hard-coded branches event index
  x86: pmu: Use macro to replace hard-coded ref-cycles event index
  x86: pmu: Use macro to replace hard-coded instructions event index
  x86: pmu: Enable and disable PMCs in loop() asm blob
  x86: pmu: Improve instruction and branches events verification
  x86: pmu: Improve LLC misses event verification
  x86: pmu: Adjust lower boundary of llc-misses event to 0 for legacy
    CPUs
  x86: pmu: Add IBPB indirect jump asm blob
  x86: pmu: Adjust lower boundary of branch-misses event
  x86: pmu: Optimize emulated instruction validation

Xiong Zhang (1):
  x86: pmu: Remove duplicate code in pmu_init()

 lib/x86/pmu.c |   5 -
 x86/pmu.c     | 423 ++++++++++++++++++++++++++++++++++++++++----------
 2 files changed, 342 insertions(+), 86 deletions(-)


base-commit: f77fb696cfd0e4a5562cdca189be557946bf522f
-- 
2.48.1.601.g30ceb7b040-goog


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

end of thread, other threads:[~2025-02-24 17:25 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-15  1:36 [kvm-unit-tests PATCH v7 00/18] x86/pmu: Fixes and improvements Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 01/18] x86: pmu: Remove duplicate code in pmu_init() Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 02/18] x86: pmu: Remove blank line and redundant space Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 03/18] x86: pmu: Refine fixed_events[] names Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 04/18] x86: pmu: Align fields in pmu_counter_t to better pack the struct Sean Christopherson
2025-02-19  1:34   ` Mi, Dapeng
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 05/18] x86: pmu: Enlarge cnt[] length to 48 in check_counters_many() Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 06/18] x86: pmu: Print measured event count if test fails Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 07/18] x86: pmu: Fix potential out of bound access for fixed events Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 08/18] x86: pmu: Fix cycles event validation failure Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 09/18] x86: pmu: Use macro to replace hard-coded branches event index Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 10/18] x86: pmu: Use macro to replace hard-coded ref-cycles " Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 11/18] x86: pmu: Use macro to replace hard-coded instructions " Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 12/18] x86: pmu: Enable and disable PMCs in loop() asm blob Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 13/18] x86: pmu: Improve instruction and branches events verification Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 14/18] x86: pmu: Improve LLC misses event verification Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 15/18] x86: pmu: Adjust lower boundary of llc-misses event to 0 for legacy CPUs Sean Christopherson
2025-02-19  1:49   ` Mi, Dapeng
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 16/18] x86: pmu: Add IBPB indirect jump asm blob Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 17/18] x86: pmu: Adjust lower boundary of branch-misses event Sean Christopherson
2025-02-15  1:36 ` [kvm-unit-tests PATCH v7 18/18] x86: pmu: Optimize emulated instruction validation Sean Christopherson
2025-02-19  9:31 ` [kvm-unit-tests PATCH v7 00/18] x86/pmu: Fixes and improvements Mi, Dapeng
2025-02-24 17:24 ` Sean Christopherson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.