]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/speculation: Move arch_smt_update() call to after mitigation decisions
authorJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 2 Apr 2019 15:00:14 +0000 (10:00 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 2 Apr 2019 18:02:37 +0000 (20:02 +0200)
commit7c3658b20194a5b3209a143f63bc9c643c6a3ae2
treecf0daadc475c4890da31040f667f21729564de2d
parentd71eb0ce109a124b0fa714832823b9452f2762cf
x86/speculation: Move arch_smt_update() call to after mitigation decisions

arch_smt_update() now has a dependency on both Spectre v2 and MDS
mitigations.  Move its initial call to after all the mitigation decisions
have been made.

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