diff --git a/kernel/Kconfig b/kernel/Kconfig index cd11f833b40..82b505d69b3 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -582,13 +582,13 @@ menu "Security Options" config RETPOLINE bool "Build with retpolines enabled" default y if !X86_NO_SPECTRE_V2 + # Currently only implemented for x86 + depends on 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]. - Currently only the x86 port - [1] https://support.google.com/faqs/answer/7625886 config STACK_CANARIES