diff options
author | Jim Mattson <[email protected]> | 2024-09-13 10:32:27 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-10-10 10:34:14 +0200 |
commit | ff898623af2ed564300752bba83a680a1e4fec8d (patch) | |
tree | 6f71a26ae933378b5eabf2548f862685439ede77 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) |
x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET
AMD's initial implementation of IBPB did not clear the return address
predictor. Beginning with Zen4, AMD's IBPB *does* clear the return address
predictor. This behavior is enumerated by CPUID.80000008H:EBX.IBPB_RET[30].
Define X86_FEATURE_AMD_IBPB_RET for use in KVM_GET_SUPPORTED_CPUID,
when determining cross-vendor capabilities.
Suggested-by: Venkatesh Srinivas <[email protected]>
Signed-off-by: Jim Mattson <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Tom Lendacky <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions