Home
last modified time | relevance | path

Searched hist:b55e7adf633a8a13d5ede57b77509ea8fa157a56 (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/kvm/x86_64/
H A Dpmu_counters_test.cdiff b55e7adf633a8a13d5ede57b77509ea8fa157a56 Wed Jan 10 00:02:41 CET 2024 Sean Christopherson <seanjc@google.com> KVM: selftests: Expand PMU counters test to verify LLC events

Expand the PMU counters test to verify that LLC references and misses have
non-zero counts when the code being executed while the LLC event(s) is
active is evicted via CFLUSH{,OPT}. Note, CLFLUSH{,OPT} requires a fence
of some kind to ensure the cache lines are flushed before execution
continues. Use MFENCE for simplicity (performance is not a concern).

Suggested-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-22-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>