Re: [PATCH] x86/microcode/intel: Ensure new microcode processor flags match with cpu's pf

From: Borislav Petkov
Date: Tue Jun 19 2018 - 05:12:17 EST


On Tue, Jun 19, 2018 at 12:49:40PM +0800, Zhenzhong Duan wrote:
> Imagine kernel already found a microcode blob A with extended sig/pf
> matching current cpu, then another microcode B is checked which doesn't
> match current cpu...

Do you see the

if (!microcode_matches(mc_header, uci->cpu_sig.sig)) {

call a couple of lines earlier?

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.