This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ENABLE_EXTENDED_IBRS

Enable Extended IBRS

Type: bool

Help

This option will enable the Extended Indirect Branch Restricted
Speculation 'always on' feature. This mitigates Indirect Branch
Control vulnerabilities (aka Spectre V2).

Direct dependencies

USERSPACE && X86

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At arch/x86/Kconfig:452

Included via Kconfig:8Kconfig.zephyr:37arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options

config ENABLE_EXTENDED_IBRS
    bool "Enable Extended IBRS"
    default y if !X86_NO_SPECTRE_V2
    depends on USERSPACE && X86
    help
      This option will enable the Extended Indirect Branch Restricted
      Speculation 'always on' feature. This mitigates Indirect Branch
      Control vulnerabilities (aka Spectre V2).

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)