Skip to content

Commit af02730

Browse files
dcpleungkartben
authored andcommitted
x86: remove CONFIG_DISABLE_SSBD and CONFIG_ENABLE_EXTENDED_IBRS
These two kconfigs have been deprecated since v3.7. So remove them now. Signed-off-by: Daniel Leung <[email protected]>
1 parent bedfa57 commit af02730

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

arch/x86/Kconfig

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,6 @@ config X86_DISABLE_SSBD
417417
Even if enabled, will have no effect on CPUs that do not
418418
require this feature.
419419

420-
config DISABLE_SSBD
421-
bool "Disable Speculative Store Bypass [DEPRECATED]"
422-
depends on USERSPACE
423-
default y if !X86_NO_SPECTRE_V4
424-
select X86_DISABLE_SSBD
425-
select DEPRECATED
426-
help
427-
Deprecated. Use CONFIG_X86_DISABLE_SSBD instead.
428-
429420
config X86_ENABLE_EXTENDED_IBRS
430421
bool "Extended IBRS"
431422
depends on USERSPACE
@@ -435,15 +426,6 @@ config X86_ENABLE_EXTENDED_IBRS
435426
Speculation 'always on' feature. This mitigates Indirect Branch
436427
Control vulnerabilities (aka Spectre V2).
437428

438-
config ENABLE_EXTENDED_IBRS
439-
bool "Extended IBRS [DEPRECATED]"
440-
depends on USERSPACE
441-
default y if !X86_NO_SPECTRE_V2
442-
select X86_ENABLE_EXTENDED_IBRS
443-
select DEPRECATED
444-
help
445-
Deprecated. Use CONFIG_X86_ENABLE_EXTENDED_IBRS instead.
446-
447429
config X86_BOUNDS_CHECK_BYPASS_MITIGATION
448430
bool
449431
depends on USERSPACE

doc/releases/migration-guide-4.1.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,9 @@ Architectures
278278
* For the native_sim target :kconfig:option:`CONFIG_NATIVE_SIM_NATIVE_POSIX_COMPAT` has been
279279
switched to ``n`` by default, and this option has been deprecated. Ensure your code does not
280280
use the :kconfig:option:`CONFIG_BOARD_NATIVE_POSIX` option anymore (:github:`81232`).
281+
282+
* x86
283+
284+
* Kconfigs ``CONFIG_DISABLE_SSBD`` and ``CONFIG_ENABLE_EXTENDED_IBRS`` have been deprecated
285+
since v3.7. These were removed. Use :kconfig:option:`CONFIG_X86_DISABLE_SSBD` and
286+
:kconfig:option:`CONFIG_X86_ENABLE_EXTENDED_IBRS` instead.

0 commit comments

Comments
 (0)