aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2023-08-25 00:01:36 -0700
committerSean Christopherson <[email protected]>2023-10-04 15:19:32 -0700
commite47d86083c66525b89c7fc66cdd64d5937725563 (patch)
treec7a2a4b5ef893299a54ced0955ac5406f6011777 /lib/test_fortify/write_overflow-strncpy.c
parent6f0f23ef76be11bc6ace10df5e807f3542da8772 (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 <[email protected]> Link: https://lore.kernel.org/r/a4ab1e7fe50096d50fde33e739ed2da40b41ea6a.1692919072.git.jpoimboe@kernel.org Co-developed-by: Sean Christopherson <[email protected]> Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions