diff options
author | Sean Christopherson <seanjc@google.com> | 2024-01-10 02:02:41 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-01-31 02:29:40 +0300 |
commit | b55e7adf633a8a13d5ede57b77509ea8fa157a56 (patch) | |
tree | b1013dc83df8f3b509ddf1b413372db534a85ad0 /net/lapb/lapb_timer.c | |
parent | 787071fd02625151b94a2f93a47cdc9a25884633 (diff) | |
download | linux-b55e7adf633a8a13d5ede57b77509ea8fa157a56.tar.xz |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions