aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJim Mattson <[email protected]>2019-03-27 13:15:36 -0700
committerPaolo Bonzini <[email protected]>2019-05-24 21:27:06 +0200
commit32a243df82c8dc04ccba7fc6c6564ae9261cb738 (patch)
tree92b54972850c5423e5559ec0f9ff193dddaf77a3 /tools/perf/scripts/python/exported-sql-viewer.py
parent319f6f97e3a16c38795168753db8740f77b156c9 (diff)
kvm: x86: Include multiple indices with CPUID leaf 0x8000001d
Per the APM, "CPUID Fn8000_001D_E[D,C,B,A]X reports cache topology information for the cache enumerated by the value passed to the instruction in ECX, referred to as Cache n in the following description. To gather information for all cache levels, software must repeatedly execute CPUID with 8000_001Dh in EAX and ECX set to increasing values beginning with 0 until a value of 00h is returned in the field CacheType (EAX[4:0]) indicating no more cache descriptions are available for this processor." The termination condition is the same as leaf 4, so we can reuse that code block for leaf 0x8000001d. Fixes: 8765d75329a38 ("KVM: X86: Extend CPUID range to include new leaf") Cc: Brijesh Singh <[email protected]> Cc: Borislav Petkov <[email protected]> Signed-off-by: Jim Mattson <[email protected]> Reviewed-by: Marc Orr <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions