Skip to content

Commit 86e39b9

Browse files
leitaohansendc
authored andcommitted
x86/bugs: Correct RSB terminology in Kconfig
RSB stands for "Return Stack Buffer" in industry literature[1]. Update the kernel Kconfig to use this standard term instead of the current "Return-Speculation-Buffer". This change aligns kernel documentation with widely accepted terminology. The line length reduction triggers text reformatting, but no functional text is altered. [1] https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/return-stack-buffer-underflow.html Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/all/20240913122754.249306-1-leitao%40debian.org
1 parent 9852d85 commit 86e39b9

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

arch/x86/Kconfig

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,15 +2551,14 @@ config MITIGATION_CALL_DEPTH_TRACKING
25512551
default y
25522552
help
25532553
Compile the kernel with call depth tracking to mitigate the Intel
2554-
SKL Return-Speculation-Buffer (RSB) underflow issue. The
2555-
mitigation is off by default and needs to be enabled on the
2556-
kernel command line via the retbleed=stuff option. For
2557-
non-affected systems the overhead of this option is marginal as
2558-
the call depth tracking is using run-time generated call thunks
2559-
in a compiler generated padding area and call patching. This
2560-
increases text size by ~5%. For non affected systems this space
2561-
is unused. On affected SKL systems this results in a significant
2562-
performance gain over the IBRS mitigation.
2554+
SKL Return-Stack-Buffer (RSB) underflow issue. The mitigation is off
2555+
by default and needs to be enabled on the kernel command line via the
2556+
retbleed=stuff option. For non-affected systems the overhead of this
2557+
option is marginal as the call depth tracking is using run-time
2558+
generated call thunks in a compiler generated padding area and call
2559+
patching. This increases text size by ~5%. For non affected systems
2560+
this space is unused. On affected SKL systems this results in a
2561+
significant performance gain over the IBRS mitigation.
25632562

25642563
config CALL_THUNKS_DEBUG
25652564
bool "Enable call thunks and call depth tracking debugging"

0 commit comments

Comments
 (0)