diff options
author | Sean Christopherson <seanjc@google.com> | 2022-10-06 03:51:22 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-11-17 03:59:05 +0300 |
commit | 5228c02a4c541a065ec071ea7ec2c1c76f3723dd (patch) | |
tree | 0fd1008f6b2f8e2700f2ce2e7ccd2e99b3dc0a11 /scripts/generate_rust_analyzer.py | |
parent | 4feb9d21a407318129b6ea3a6735f1866439b9ab (diff) | |
download | linux-5228c02a4c541a065ec071ea7ec2c1c76f3723dd.tar.xz |
KVM: selftests: Add PMU feature framework, use in PMU event filter test
Add an X86_PMU_FEATURE_* framework to simplify probing architectural
events on Intel PMUs, which require checking the length of a bit vector
and the _absence_ of a "feature" bit. Add helpers for both KVM and
"this CPU", and use the newfangled magic (along with X86_PROPERTY_*)
to clean up pmu_event_filter_test.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221006005125.680782-10-seanjc@google.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions