aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorManali Shukla <manali.shukla@amd.com>2024-06-05 05:08:35 +0000
committerSean Christopherson <seanjc@google.com>2024-06-10 09:57:21 -0700
commit17019d5195c467938b0289a2175e17eac4cc1cdf (patch)
tree2e492641bb7aff066d61ad6a6b16d0fdfe8e8bb7 /tools/perf/scripts/python/parallel-perf.py
parentf626279dea33ba551839f2321511ad127e5a58e8 (diff)
KVM: selftests: Treat AMD Family 17h+ as supporting branch insns retired
When detecting AMD PMU support for encoding "branch instructions retired" as event 0xc2,0, simply check for Family 17h+ as all Zen CPUs support said encoding, and AMD will maintain the encoding for backwards compatibility on future CPUs. Note, the kernel proper also interprets Family 17h+ as Zen (see the sole caller of init_amd_zen_common()). Suggested-by: Sandipan Das <sandipan.das@amd.com> Signed-off-by: Manali Shukla <manali.shukla@amd.com> Link: https://lore.kernel.org/r/20240605050835.30491-1-manali.shukla@amd.com Co-developed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions