x86/speculation/mds: Add SMT warning message
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 2 Apr 2019 15:00:51 +0000 (10:00 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 2 Apr 2019 18:02:37 +0000 (20:02 +0200)
commit39226ef02bfb43248b7db12a4fdccb39d95318e3
treeeb260b3714a14f504b06920f6b5be6f57376caed
parent7c3658b20194a5b3209a143f63bc9c643c6a3ae2
x86/speculation/mds: Add SMT warning message

MDS is vulnerable with SMT.  Make that clear with a one-time printk
whenever SMT first gets enabled.

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>
arch/x86/kernel/cpu/bugs.c