[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53daf7e9901d428fa25ede7caa99b520@AcuMS.aculab.com>
Date: Sun, 17 Nov 2024 18:23:20 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Borislav Petkov' <bp@...en8.de>, Andrew Cooper
<andrew.cooper3@...rix.com>, Thomas De Schampheleire
<thomas.de_schampheleire@...ia.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>
Subject: RE: x86/amd late microcode thread loading slows down boot
...
> + /*
> + * 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)
Powered by blists - more mailing lists