OSDN Git Service

s390: detect etoken facility
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 May 2018 13:14:48 +0000 (15:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 18 Jul 2018 06:32:17 +0000 (08:32 +0200)
commitaeaf7002a76c8da60c0f503badcbddc07650678c
tree4a8bf8d1dd9ed365d8cdb4540062f81639833ba9
parentccaabeea02026e1fbf9274800e43d9135914cd72
s390: detect etoken facility

Detect and report the etoken facility. With spectre_v2=auto or
CONFIG_EXPOLINE_AUTO=y automatically disable expolines and use
the full branch prediction mode for the kernel.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/nospec-branch.c
arch/s390/kernel/nospec-sysfs.c