x86/speculation/mds: Add mds=full,nosmt cmdline option
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 2 Apr 2019 14:59:33 +0000 (09:59 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 2 Apr 2019 18:02:36 +0000 (20:02 +0200)
commitd71eb0ce109a124b0fa714832823b9452f2762cf
treee5efa2ea879a545d3eb552a83343c91f873e7ffb
parent5999bbe7a6ea3c62029532ec84dc06003a1fa258
x86/speculation/mds: Add mds=full,nosmt cmdline option

Add the mds=full,nosmt cmdline option.  This is like mds=full, but with
SMT disabled if the CPU is vulnerable.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Documentation/admin-guide/hw-vuln/mds.rst
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kernel/cpu/bugs.c