]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/speculation/mds: Check for the right microcode before setting mitigation
authorKanth Ghatraju <kanth.ghatraju@oracle.com>
Tue, 21 May 2019 21:55:18 +0000 (17:55 -0400)
committerBrian Maly <brian.maly@oracle.com>
Wed, 22 May 2019 14:03:45 +0000 (10:03 -0400)
commit95a0087d10d019ca1729ebdcf18a2876cb5bd203
tree63845122e03ede05207b3a04eeb85acbf729b018
parentde06f507f8ddd6ad139e4dfc12458b9f7d4f25f2
x86/speculation/mds: Check for the right microcode before setting mitigation

With the addition of new mitigation for idle, need to check the availability
of microcode when mds=idle. The fix is to take the check out of the if
statement.

Orabug: 29797118
Signed-off-by: Kanth Ghatraju <kanth.ghatraju@oracle.com>
Reviewed-by: Mihai Carabas <mihai.carabas@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
arch/x86/kernel/cpu/bugs_64.c