summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFrank Zhu <frankzhu@zhaoxin.com>2026-09-10 19:54:14 +0800
committerSean Christopherson <seanjc@google.com>2026-09-11 09:37:27 -0700
commit0d5c14800de007ee45fd76008e4a115f170fa88d (patch)
tree1d5e0f526f932fca52f0f41ae0b8bc11e44313eb /tools/perf/scripts/python/stackcollapse.py
parent1a0abfad6c8096dfb00aa5a764d92819ff749103 (diff)
downloadlinux-next-0d5c14800de007ee45fd76008e4a115f170fa88d.tar.gz
linux-next-0d5c14800de007ee45fd76008e4a115f170fa88d.zip
KVM: selftests: Check for APIC access virtualization support in said test
Not all CPUs that support VMX necessarily support the "virtualize APIC accesses" secondary processor-based VM-execution control. For example, some Zhaoxin CPUs lack this feature. Add a capability check before running the test to properly skip on unsupported hardware instead of failing. Carve out the guts of kvm_cpu_has_ept() into a generic helper and use said helper to provide kvm_cpu_has_vmx_apic_access_virt(). Signed-off-by: Frank Zhu <frankzhu@zhaoxin.com> Link: https://patch.msgid.link/20260910115414.3015260-10-ewanhai-oc@zhaoxin.com [sean: add a helper instead of copy+pasting kvm_cpu_has_ept()] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions