diff options
author | Pratik R. Sampat <prsampat@amd.com> | 2025-03-05 16:59:54 -0600 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-05-02 12:32:33 -0700 |
commit | acf064345018853ab2fc86a5637891d605ea60c8 (patch) | |
tree | c652cfb26fa5ac6ea4715c91beda1167d839029c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c4e1a848d72179136f6ea9626933cb26c9d35eb5 (diff) |
KVM: selftests: Add SMT control state helper
Move the SMT control check out of the hyperv_cpuid selftest so that it
is generally accessible all KVM selftests. Split the functionality into
a helper that populates a buffer with SMT control value which other
helpers can use to ascertain if SMT state is available and active.
Signed-off-by: Pratik R. Sampat <prsampat@amd.com>
Link: https://lore.kernel.org/r/20250305230000.231025-5-prsampat@amd.com
[sean: prepend is_ to the helpers]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions