aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-02 15:56:49 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:58:29 +0100
commitbcf600ca8d21e49af21fec5d2cf3927d6f62d048 (patch)
treefd01db91191ac84341386e23ca05076245466446 /tools/perf/scripts/python
parentKVM: x86: Fold CPUID 0x7 masking back into __do_cpuid_func() (diff)
downloadlinux-bcf600ca8d21e49af21fec5d2cf3927d6f62d048.tar.gz
linux-bcf600ca8d21e49af21fec5d2cf3927d6f62d048.zip
KVM: x86: Remove the unnecessary loop on CPUID 0x7 sub-leafs
Explicitly handle CPUID 0x7 sub-leaf 1. The kernel is currently aware of exactly one feature in CPUID 0x7.1, which means there is room for another 127 features before CPUID 0x7.2 will see the light of day, i.e. the looping is likely to be dead code for years to come. 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