-
CONFIG_X86_RETPOLINE
¶
Build with retpolines enabled in x86 assembly code
Type: bool
Help¶
This is recommended on platforms with speculative executions, to protect against branch target injection (AKA Spectre-V2). Full description of how retpolines work can be found here[1].
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At arch/x86/core/Kconfig:95
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/x86/Kconfig:14
Menu path: (top menu) → X86 Architecture Options
config X86_RETPOLINE bool prompt "Build with retpolines enabled in x86 assembly code" ifUSERSPACE
&&X86
depends onUSERSPACE
&&X86
help This is recommended on platforms with speculative executions, to protect against branch target injection (AKA Spectre-V2). Full description of how retpolines work can be found here[1]. [1] https://support.google.com/faqs/answer/7625886
(Definitions include propagated dependencies, including from if’s and menus.)