diff options
author | Sean Christopherson <[email protected]> | 2024-01-09 15:02:41 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-01-30 15:29:40 -0800 |
commit | b55e7adf633a8a13d5ede57b77509ea8fa157a56 (patch) | |
tree | b1013dc83df8f3b509ddf1b413372db534a85ad0 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 787071fd02625151b94a2f93a47cdc9a25884633 (diff) |
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 <[email protected]>
Reviewed-by: Dapeng Mi <[email protected]>
Tested-by: Dapeng Mi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions