pmu test bugs fix and improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest18 patches 14 repliesIn review
- v518 patches 6 repliesSuperseded
- v417 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 11 patches | 26 replies | Superseded | |
| v2 | 5 patches | 8 replies | Superseded | |
| v1 | 5 patches | 13 replies | Superseded |
Changes in v6 from the cover letter
* limit maximum fixed counters number to MIN(pmu.nr_fixed_counters, ARRAY_SIZE(fixed_events)) to avoid out-of-bound access for fixed_events[]. If supported fixed counters number is larger than array size of fixed_events[], print message to remind to update test case. (Jim)
* limit instructions & branches events precise validation for only Intel processors. (Sandipan Das)
Patches in v6 No applies recorded yet
Reviews trailers per patch
4 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Jim Mattson | Mingwei Zhang | Dapeng Mi |
|---|---|---|---|
| 1/18 | R-b | ||
| 2/18 | R-b | ||
| 3/18 | R-b | ||
| 4/18 | Signeduoff-by | ||
| 5/18 | R-b | ||
| 6/18 | |||
| 7/18 | |||
| 8/18 | |||
| 9/18 | |||
| 10/18 | |||
| 11/18 | |||
| 12/18 | |||
| 13/18 | |||
| 14/18 | |||
| 15/18 | |||
| 16/18 | |||
| 17/18 | |||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [kvm-unit-tests patch v6 00/18] pmu test bugs fix and improvements
Changes:
v5 -> v6:
* limit maximum fixed counters number to MIN(pmu.nr_fixed_counters, ARRAY_SIZE(fixed_events)) to avoid out-of-bound access for fixed_events[]. If supported fixed counters number is larger than array size of fixed_events[], print message to remind to update test case. (Jim)
* limit instructions & branches events precise validation for only Intel processors. (Sandipan Das)
KUT/pmu test passes on Intel Sapphire Rapids platform.
History:
v5: https://lore.kernel.org/all/[email protected]/
v4: https://lore.kernel.org/all/[email protected]/
v3: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]/
v1: https://lore.kernel.org/lkml/[email protected]/
Dapeng Mi (17):
x86: pmu: Remove blank line and redundant space
x86: pmu: Refine fixed_events[] names
x86: pmu: Fix the issue that pmu_counter_t.config crosses cache line
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 | 427 ++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 346 insertions(+), 86 deletions(-)
base-commit: 17f6f2fd17935eb5e564f621c71244b4a3ddeafb
Signature · 1 line
2.40.1