]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - arch/s390/Kconfig
s390: add sysfs attributes for spectre
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 21 Mar 2018 08:38:21 +0000 (09:38 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 28 Mar 2018 06:38:26 +0000 (08:38 +0200)
commitd424986f1d6b16079b3231db0314923f4f8deed1
treed7073666315494e8cb6f882f71d5a87b217f85e0
parentbc035599718412cfba9249aa713f90ef13f13ee9
s390: add sysfs attributes for spectre

Set CONFIG_GENERIC_CPU_VULNERABILITIES and provide the two functions
cpu_show_spectre_v1 and cpu_show_spectre_v2 to report the spectre
mitigations.

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