]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/speculation/mds: Add sysfs reporting for MDS
authorThomas Gleixner <tglx@linutronix.de>
Mon, 18 Feb 2019 21:51:43 +0000 (22:51 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 6 May 2019 16:58:13 +0000 (18:58 +0200)
commit1122cc78eda1ee25b05940f710c56b297d1ff301
treeba60e92fa3451469b15f0975a9073a734e68cbe3
parentfc5ee888ab2a5396ec1f5113a4860f1aafc08ecf
x86/speculation/mds: Add sysfs reporting for MDS

Add the sysfs reporting file for MDS. It exposes the vulnerability and
mitigation state similar to the existing files for the other speculative
hardware vulnerabilities.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
CVE-2018-12126
CVE-2018-12127
CVE-2018-12130

(backported from commit bd8651092f9656672e53feb1f8e793a0b960138d)
[tyhicks: Backport to 4.15:
 - Include asm/hypervisor.h from bugs.c for hypervisor_is_type()]
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Documentation/ABI/testing/sysfs-devices-system-cpu
arch/x86/kernel/cpu/bugs.c
drivers/base/cpu.c
include/linux/cpu.h