diff options
author | Sean Christopherson <seanjc@google.com> | 2022-06-14 20:06:57 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-07-13 18:14:21 -0700 |
commit | 48ce3ed052e8336a17c64ca1787648d9e17c54d9 (patch) | |
tree | c64d956e7c919eede9a5e890634533b08297c36a /tools/perf/scripts/python | |
parent | 8fe09d6a91be94be6910d843bb21d60b1fc99cd2 (diff) |
KVM: selftests: Add this_cpu_has() to query X86_FEATURE_* via cpuid()
Add this_cpu_has() to query an X86_FEATURE_* via cpuid(), i.e. to query a
feature from L1 (or L2) guest code. Arbitrarily select the AMX test to
be the first user.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-33-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions