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

From: David Laight
Date: Sun Nov 17 2024 - 13:23:33 EST


...
> + /*
> + * Flush next page too if patch image is crossing a page
> + * boundary.
> + */
> + if (p_addr >> PAGE_SHIFT != (p_addr + psize) >> PAGE_SHIFT)
> + invlpg(p_addr + psize);
> + }

Shouldn't that be 'psize - 1' ?

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)