aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-02 15:56:06 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:57:56 +0100
commit8b86079cc339a7f1f94e92d8469d7fb69f8879c2 (patch)
tree46191b89626038d2ef97ae9afe2fe23ea59576bb /tools/perf/scripts/python
parentKVM: x86: Refactor loop around do_cpuid_func() to separate helper (diff)
downloadlinux-8b86079cc339a7f1f94e92d8469d7fb69f8879c2.tar.gz
linux-8b86079cc339a7f1f94e92d8469d7fb69f8879c2.zip
KVM: x86: Simplify handling of Centaur CPUID leafs
Refactor the handling of the Centaur-only CPUID leaf to detect the leaf via a runtime query instead of adding a one-off callback in the static array. When the callback was introduced, there were additional fields in the array's structs, and more importantly, retpoline wasn't a thing. No functional change intended. Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions