Re: [PATCH v2] arch/x86: Fix boot_cpu_data.microcode version output

From: Borislav Petkov
Date: Tue Jul 31 2018 - 09:00:09 EST


On Tue, Jul 31, 2018 at 11:46:09AM +0000, Sironi, Filippo wrote:
> There may be a chance of skipping this code, I think.
>
> If the microcode is loaded on the hyperthread sibling of the boot cpu
> before being loaded on the boot cpu, the boot cpu will exit earlier
> from apply_microcode_intel() - in if (rev >= mc->hdr.rev) { ... }.
>
> (This seems to be possible in apply_microcode_amd() as well.)
>
> In my tree with the aforementioned change - Intel only - I also had
> the following patch:

Yap, good catch.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--