Skip to content
Commit 6e179d64 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390: add automatic detection of the spectre defense



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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent b2e2f43a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment