diff options
author | 2024-09-13 10:32:27 -0700 | |
---|---|---|
committer | 2024-10-10 10:34:14 +0200 | |
commit | ff898623af2ed564300752bba83a680a1e4fec8d (patch) | |
tree | 6f71a26ae933378b5eabf2548f862685439ede77 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 6.12-rc2 (diff) | |
download | wireguard-linux-ff898623af2ed564300752bba83a680a1e4fec8d.tar.xz wireguard-linux-ff898623af2ed564300752bba83a680a1e4fec8d.zip |
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 <venkateshs@chromium.org>
Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions