diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-08-25 00:01:36 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-10-04 15:19:32 -0700 |
commit | e47d86083c66525b89c7fc66cdd64d5937725563 (patch) | |
tree | c7a2a4b5ef893299a54ced0955ac5406f6011777 /scripts/gdb/linux/cpus.py | |
parent | 6f0f23ef76be11bc6ace10df5e807f3542da8772 (diff) |
KVM: x86: Add SBPB support
Add support for the AMD Selective Branch Predictor Barrier (SBPB) by
advertising the CPUID bit and handling PRED_CMD writes accordingly.
Note, like SRSO_NO and IBPB_BRTYPE before it, advertise support for SBPB
even if it's not enumerated by in the raw CPUID. Some CPUs that gained
support via a uCode patch don't report SBPB via CPUID (the kernel forces
the flag).
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/a4ab1e7fe50096d50fde33e739ed2da40b41ea6a.1692919072.git.jpoimboe@kernel.org
Co-developed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions