No description
Find a file
Thomas Gleixner 3e87b33f41 x86/speculation/mds: Add mitigation control for MDS
commit bc1241700a upstream

Now that the mitigations are in place, add a command line parameter to
control the mitigation, a mitigation selector function and a SMT update
mechanism.

This is the minimal straight forward initial implementation which just
provides an always on/off mode. The command line parameter is:

  mds=[full|off]

This is consistent with the existing mitigations for other speculative
hardware vulnerabilities.

The idle invocation is dynamically updated according to the SMT state of
the system similar to the dynamic update of the STIBP mitigation. The idle
mitigation is limited to CPUs which are only affected by MSBDS and not any
other variant, because the other variants cannot be mitigated on SMT
enabled systems.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Jon Masters <jcm@redhat.com>
Tested-by: Jon Masters <jcm@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-14 19:18:43 +02:00
arch x86/speculation/mds: Add mitigation control for MDS 2019-05-14 19:18:43 +02:00
block
certs
crypto
Documentation x86/speculation/mds: Add mitigation control for MDS 2019-05-14 19:18:43 +02:00
drivers x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:18:42 +02:00
firmware
fs hugetlbfs: fix memory leak for resv_map 2019-05-08 07:20:50 +02:00
include locking/atomics, asm-generic: Move some macros from <linux/bitops.h> to a new <linux/bits.h> file 2019-05-14 19:18:42 +02:00
init
ipc
kernel locking/futex: Allow low-level atomic operations to return -EAGAIN 2019-05-10 17:53:15 +02:00
lib ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings 2019-05-10 17:53:08 +02:00
mm slab: fix a crash by reading /proc/slab_allocators 2019-05-10 17:53:11 +02:00
net Bluetooth: Align minimum encryption key size for LE and BR/EDR connections 2019-05-10 17:53:15 +02:00
samples
scripts kconfig/[mn]conf: handle backspace (^H) key 2019-05-04 09:15:22 +02:00
security selinux: never allow relabeling on context mounts 2019-05-08 07:20:53 +02:00
sound ASoC: Intel: avoid Oops if DMA setup fails 2019-05-10 17:53:15 +02:00
tools x86/msr-index: Cleanup bit defines 2019-05-14 19:18:42 +02:00
usr
virt KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots 2019-05-04 09:15:19 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 4.14.118 2019-05-10 17:53:15 +02:00
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.