Re: x86/amd late microcode thread loading slows down boot

From: Thomas De Schampheleire
Date: Mon Nov 18 2024 - 10:14:28 EST


On Fri, Nov 15, 2024 at 09:51:14PM +0100, Borislav Petkov wrote:
>
> On Thu, Nov 14, 2024 at 12:03:41PM +0000, Andrew Cooper wrote:
[...]
> > However, these blobs are 3200 bytes long and come with a good chance of
> > crossing a page boundary. If you're invlpg'ing, you need to issue a
> > second one for the final byte of the image too.
>
> Right, see below. It works here, Thomas you could give it a try too.

Thanks, I tested this version successfully.
I hadn't included the 'size - 1' fix yet but I don't think this could influence
my test negatively.

Please go ahead with the final patch.
Will it be backported to the 6.6.x branch?

Thanks,
Thomas