summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-07-28 17:28:43 -0500
committerBorislav Petkov (AMD) <bp@alien8.de>2023-07-29 14:15:19 +0200
commit238ec850b95a02dcdff3edc86781aa913549282f (patch)
tree0fa80998fd217be07aa85987a22c60883d0e0821 /tools/perf/scripts/python/task-analyzer.py
parentd893832d0e1ef41c72cdae444268c1d64a2be8ad (diff)
downloadlinux-stable-238ec850b95a02dcdff3edc86781aa913549282f.tar.gz
linux-stable-238ec850b95a02dcdff3edc86781aa913549282f.tar.bz2
linux-stable-238ec850b95a02dcdff3edc86781aa913549282f.zip
x86/srso: Fix return thunks in generated code
Set X86_FEATURE_RETHUNK when enabling the SRSO mitigation so that generated code (e.g., ftrace, static call, eBPF) generates "jmp __x86_return_thunk" instead of RET. [ bp: Add a comment. ] Fixes: fb3bd914b3ec ("x86/srso: Add a Speculative RAS Overflow mitigation") Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions