aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-06-14 20:07:03 +0000
committerSean Christopherson <[email protected]>2022-07-13 18:14:24 -0700
commit7fbb653e01fdd45b377674a9e77da473d49afd38 (patch)
tree3187b300ae0672fbfe144d4ae8f92f8fc4a3c5fd /tools/perf/scripts/python/flamegraph.py
parentd04019274d13301b413c28b85f1b1775a9d63062 (diff)
KVM: selftests: Check KVM's supported CPUID, not host CPUID, for XFD
Use kvm_cpu_has() to check for XFD supported in vm_xsave_req_perm(), simply checking host CPUID doesn't guarantee KVM supports AMX/XFD. Opportunistically hoist the check above the bit check; if XFD isn't supported, it's far better to get a "not supported at all" message, as opposed to a "feature X isn't supported" message". Signed-off-by: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions