Skip to content

KVM: selftests: Fix PMU counters test flakiness

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

v2 from the cover letter

- Add a prep patch to tweak the macros in preparation for moving CLFUSH{,OPT} into the loop.
- Keep the MFENCE (because paranoia doesn't hurt in this case).

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: selftests: Rework macros in PMU counters test to prep for multi-insn looptools/testing/selftests/kvm/x86_64/pmu_counters_test.c+19 -90 replies
2/2KVM: selftests: Increase robustness of LLC cache misses in PMU counters testtools/testing/selftests/kvm/x86_64/pmu_counters_test.c+14 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: selftests: Fix PMU counters test flakiness

v2 of Maxim's patch to fix the flakiness with the PMU counters test do to a single CLFLUSH not guaranteeing an LLC miss.

v2:
- Add a prep patch to tweak the macros in preparation for moving CLFUSH{,OPT} into the loop.
- Keep the MFENCE (because paranoia doesn't hurt in this case).

v1: https://lore.kernel.org/all/[email protected]

Maxim Levitsky (1):
KVM: selftests: Increase robustness of LLC cache misses in PMU
counters test

Sean Christopherson (1):
KVM: selftests: Rework macros in PMU counters test to prep for
multi-insn loop

 .../selftests/kvm/x86_64/pmu_counters_test.c  | 44 ++++++++++++-------
 1 file changed, 29 insertions(+), 15 deletions(-)

base-commit: c81b138d5075c6f5ba3419ac1d2a2e7047719c14

Signature · 1 line
2.45.2.803.g4e1b14247a-goog