From: David Laight <David.Laight@ACULAB.COM>
To: 'Borislav Petkov' <bp@alien8.de>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"x86@kernel.org" <x86@kernel.org>
Subject: RE: x86/amd late microcode thread loading slows down boot
Date: Sun, 17 Nov 2024 18:23:20 +0000 [thread overview]
Message-ID: <53daf7e9901d428fa25ede7caa99b520@AcuMS.aculab.com> (raw)
In-Reply-To: <20241115205114.GCZze0QtUKbeXdFEHe@fat_crate.local>
...
> + /*
> + * 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)
next prev parent reply other threads:[~2024-11-17 18:23 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 17:20 x86/amd late microcode thread loading slows down boot Thomas De Schampheleire
2024-11-06 18:50 ` Andrew Cooper
2024-11-07 15:30 ` Borislav Petkov
2024-11-07 20:58 ` Thomas De Schampheleire
2024-11-14 9:56 ` Borislav Petkov
2024-11-14 12:03 ` Andrew Cooper
2024-11-15 20:51 ` Borislav Petkov
2024-11-16 19:32 ` Andrew Cooper
2024-11-17 18:23 ` David Laight [this message]
2024-11-17 19:52 ` Borislav Petkov
2024-11-18 15:13 ` Thomas De Schampheleire
2024-11-18 15:28 ` Borislav Petkov
2024-11-18 15:58 ` Thomas De Schampheleire
2024-11-19 10:46 ` Thomas De Schampheleire
2024-11-19 11:17 ` Borislav Petkov
2024-11-18 19:16 ` Borislav Petkov
2024-11-14 20:01 ` Thomas De Schampheleire
2024-11-19 11:21 ` [PATCH 1/2] x86/mm: Carve out INVLPG inline asm for use by others Borislav Petkov
2024-11-19 11:21 ` [PATCH 2/2] x86/microcode/AMD: Flush patch buffer mapping after application Borislav Petkov
2024-11-25 11:04 ` [tip: x86/urgent] x86/mm: Carve out INVLPG inline asm for use by others tip-bot2 for Borislav Petkov (AMD)
2024-11-25 11:04 ` [tip: x86/urgent] x86/microcode/AMD: Flush patch buffer mapping after application tip-bot2 for Borislav Petkov (AMD)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53daf7e9901d428fa25ede7caa99b520@AcuMS.aculab.com \
--to=david.laight@aculab.com \
--cc=andrew.cooper3@citrix.com \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=thomas.de_schampheleire@nokia.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox