]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390: report spectre mitigation via syslog
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 Mar 2018 15:33:43 +0000 (16:33 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 10 Apr 2018 14:20:04 +0000 (09:20 -0500)
commitad31a05bcf9ab92ec8054de705b2d63e58d80dbe
treed845ce8d52ef9e31cd85e210beab248c8ecb8a95
parent3eb01835a5d7ab6af63615dde6c2ca340e4dde0d
s390: report spectre mitigation via syslog

BugLink: http://bugs.launchpad.net/bugs/1762719
Add a boot message if either of the spectre defenses is active.
The message is
    "Spectre V2 mitigation: execute trampolines."
or  "Spectre V2 mitigation: limited branch prediction."

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
(cherry picked from commit bc035599718412cfba9249aa713f90ef13f13ee9)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/s390/kernel/nospec-branch.c