diff options
author | Jinrong Liang <[email protected]> | 2024-01-09 15:02:39 -0800 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-01-30 15:29:38 -0800 |
commit | c7d7c76ecf78f93b2bd7d40bccabc813c1ed0a49 (patch) | |
tree | 7fff12433207107da9917d4a8f182c77566c5967 /scripts/gdb/linux/tasks.py | |
parent | 7137cf751b9b14662adad61e35c236e141430aed (diff) |
KVM: selftests: Test consistency of CPUID with num of fixed counters
Extend the PMU counters test to verify KVM emulation of fixed counters in
addition to general purpose counters. Fixed counters add an extra wrinkle
in the form of an extra supported bitmask. Thus quoth the SDM:
fixed-function performance counter 'i' is supported if ECX[i] || (EDX[4:0] > i)
Test that KVM handles a counter being available through either method.
Reviewed-by: Dapeng Mi <[email protected]>
Co-developed-by: Like Xu <[email protected]>
Signed-off-by: Like Xu <[email protected]>
Signed-off-by: Jinrong Liang <[email protected]>
Co-developed-by: Sean Christopherson <[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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions