diff options
| author | Peter Zijlstra <[email protected]> | 2022-06-14 23:16:04 +0200 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2022-06-27 10:34:00 +0200 |
| commit | d7caac991feeef1b871ee6988fd2c9725df09039 (patch) | |
| tree | 3898bfd6d98b4721394662c2af34ab2c69fbc558 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | a09a6e2399ba0595c3042b3164f3ca68a3cff33e (diff) | |
x86/cpu/amd: Add Spectral Chicken
Zen2 uarchs have an undocumented, unnamed, MSR that contains a chicken
bit for some speculation behaviour. It needs setting.
Note: very belatedly AMD released naming; it's now officially called
MSR_AMD64_DE_CFG2 and MSR_AMD64_DE_CFG2_SUPPRESS_NOBR_PRED_BIT
but shall remain the SPECTRAL CHICKEN.
Suggested-by: Andrew Cooper <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Josh Poimboeuf <[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