diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-02 15:56:06 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:56 +0100 |
| commit | 8b86079cc339a7f1f94e92d8469d7fb69f8879c2 (patch) | |
| tree | 46191b89626038d2ef97ae9afe2fe23ea59576bb /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | KVM: x86: Refactor loop around do_cpuid_func() to separate helper (diff) | |
| download | linux-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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
