diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-04-27 07:36:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-29 11:33:15 +0200 |
commit | 719b84c9aec27953da3da75838f50fd89ea950a2 (patch) | |
tree | b8c95ac751b034e59d6bb8a10ea40290af214932 /arch/s390/Kconfig | |
parent | ea1bbd53f0558fa625f07fd69f5dbb58cbb8a95c (diff) | |
download | linux-exynos-719b84c9aec27953da3da75838f50fd89ea950a2.tar.gz linux-exynos-719b84c9aec27953da3da75838f50fd89ea950a2.tar.bz2 linux-exynos-719b84c9aec27953da3da75838f50fd89ea950a2.zip |
s390: add automatic detection of the spectre defense
[ Upstream commit 6e179d64126b909f0b288fa63cdbf07c531e9b1d ]
Automatically decide between nobp vs. expolines if the spectre_v2=auto
kernel parameter is specified or CONFIG_EXPOLINE_AUTO=y is set.
The decision made at boot time due to CONFIG_EXPOLINE_AUTO=y being set
can be overruled with the nobp, nospec and spectre_v2 kernel parameters.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r-- | arch/s390/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 39cd1ed804a8..7a238d47c5c6 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -575,7 +575,7 @@ choice config EXPOLINE_OFF bool "spectre_v2=off" -config EXPOLINE_MEDIUM +config EXPOLINE_AUTO bool "spectre_v2=auto" config EXPOLINE_FULL |