diff options
author | 2024-06-05 05:08:35 +0000 | |
---|---|---|
committer | 2024-06-10 09:57:21 -0700 | |
commit | 17019d5195c467938b0289a2175e17eac4cc1cdf (patch) | |
tree | 2e492641bb7aff066d61ad6a6b16d0fdfe8e8bb7 /scripts/generate_rust_analyzer.py | |
parent | KVM: selftests: remove unused struct 'memslot_antagonist_args' (diff) | |
download | wireguard-linux-17019d5195c467938b0289a2175e17eac4cc1cdf.tar.xz wireguard-linux-17019d5195c467938b0289a2175e17eac4cc1cdf.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions