diff options
author | 2023-03-10 16:46:02 -0800 | |
---|---|---|
committer | 2023-04-06 14:57:23 -0700 | |
commit | e4d86fb910dfdeb4320d5a7b9ebf6e81f10b1380 (patch) | |
tree | 9d114501ec5b4c467f3030f855f9db15a2d57f12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Generate set of VMX feature MSRs using first/last definitions (diff) | |
download | linux-rng-e4d86fb910dfdeb4320d5a7b9ebf6e81f10b1380.tar.xz linux-rng-e4d86fb910dfdeb4320d5a7b9ebf6e81f10b1380.zip |
KVM: selftests: Split PMU caps sub-tests to avoid writing MSR after KVM_RUN
Split the PERF_CAPABILITIES subtests into two parts so that the LBR format
testcases don't execute after KVM_RUN. Similar to the guest CPUID model,
KVM will soon disallow changing PERF_CAPABILITIES after KVM_RUN, at which
point attempting to set the MSR after KVM_RUN will yield false positives
and/or false negatives depending on what the test is trying to do.
Land the LBR format test in a more generic "immutable features" test in
anticipation of expanding its scope to other immutable features.
Link: https://lore.kernel.org/r/20230311004618.920745-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions