diff options
author | Alexandre Chartre <[email protected]> | 2022-06-14 23:15:50 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-06-27 10:33:59 +0200 |
commit | 7fbf47c7ce50b38a64576b150e7011ae73d54669 (patch) | |
tree | 8cb177c7abdd79b9f1344be6881ef9a46631a2e2 /net/unix/garbage.c | |
parent | 6b80b59b3555706508008f1f127b5412c89c7fd8 (diff) |
x86/bugs: Add AMD retbleed= boot parameter
Add the "retbleed=<value>" boot parameter to select a mitigation for
RETBleed. Possible values are "off", "auto" and "unret"
(JMP2RET mitigation). The default value is "auto".
Currently, "retbleed=auto" will select the unret mitigation on
AMD and Hygon and no mitigation on Intel (JMP2RET is not effective on
Intel).
[peterz: rebase; add hygon]
[jpoimboe: cleanups]
Signed-off-by: Alexandre Chartre <[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 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions