Re: x86/amd late microcode thread loading slows down boot
From: Thomas De Schampheleire
Date: Thu Nov 07 2024 - 15:58:17 EST
On Thu, Nov 07, 2024 at 04:30:36PM +0100, Borislav Petkov wrote:
>
> Thanks for saving me some wild goose chasing...
>
> Thomas, do you want a diff to try?
>
Thanks Andrew for the suggestion.
I tested with a call to 'flush_tlb_all()' right after native_rdmsr(), inside
__apply_microcode_amd(). This effectively fixes the problem.
Boris, perhaps you can propose a more fine-tuned flushing? I'd be happy to try
that.
Thanks,
Thomas