]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Rework macros in PMU counters test to prep for multi-insn loop
authorSean Christopherson <seanjc@google.com>
Fri, 28 Jun 2024 00:55:56 +0000 (17:55 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 28 Jun 2024 15:44:03 +0000 (08:44 -0700)
commit5bb9af07d37c95ac83725ed0f92c2a4315ade0ae
treef7e248ab9eb3f1921d756b1f65a80fb441d27b2b
parentea09ace3f8f31fa32f6674c95329a6caf5ef629d
KVM: selftests: Rework macros in PMU counters test to prep for multi-insn loop

Tweak the macros in the PMU counters test to prepare for moving the
CLFLUSH+MFENCE instructions into the loop body, to fix an issue where
a single CLFUSH doesn't guarantee an LLC miss.

Link: https://lore.kernel.org/r/20240628005558.3835480-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86_64/pmu_counters_test.c