]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86: cpu: microcode: Re-evaluate bugs in a CPU after microcode loading
authorMihai Carabas <mihai.carabas@oracle.com>
Mon, 18 Mar 2019 13:56:16 +0000 (15:56 +0200)
committerBrian Maly <brian.maly@oracle.com>
Tue, 26 Mar 2019 20:32:43 +0000 (16:32 -0400)
commit2a9b75ea713843c4ed7e4a87fb9d47f60bbcdbb3
treee7564692ae550f2bddbad82ebd1363d9ffab021e
parent3eb55f9424c12f8d1f93be26aea4f08459f23138
x86: cpu: microcode: Re-evaluate bugs in a CPU after microcode loading

After doing a new microcode load, we have to re-evaluate bugs in the CPU in
order to see if the microcode brought changes. We clear caps for
X86_BUG_SPEC_STORE_BYPASS, X86_BUG_CPU_MELTDOWN and X86_BUG_L1TF as these can
be modified by new microcode loading.

Orabug: 29336760

Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/microcode/core.c