diff options
| author | Josh Poimboeuf <[email protected]> | 2022-06-14 23:16:05 +0200 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2022-06-27 10:34:00 +0200 |
| commit | b2620facef4889fefcbf2e87284f34dcd4189bce (patch) | |
| tree | 52439ac589efbe3e3c881eba84cddb489e205c37 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | d7caac991feeef1b871ee6988fd2c9725df09039 (diff) | |
x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
If a kernel is built with CONFIG_RETPOLINE=n, but the user still wants
to mitigate Spectre v2 using IBRS or eIBRS, the RSB filling will be
silently disabled.
There's nothing retpoline-specific about RSB buffer filling. Remove the
CONFIG_RETPOLINE guards around it.
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions