On Thu, 13 Feb 2025 at 19:31, Brendan Jackman <jackmanb@xxxxxxxxxx> wrote: > > On Thu, 13 Feb 2025 at 17:20, Rik van Riel <riel@xxxxxxxxxxx> wrote: > > > > Add support for broadcast TLB invalidation using AMD's INVLPGB instruction. > > Oh - what if the user sets nopcid. We need to disable invlpgb in that > case right? > > (I assume it could be made to work, but doesn't seem like a case worth > optimising). BTW there are still a couple of unresolved threads from previous versions. KPTI comment: https://lore.kernel.org/linux-kernel/CA+i-1C2zuctxx6oPVVu0zBJ=Q=Hs73mgrWs5jsp8obARNcUS9g@xxxxxxxxxxxxxx/ and https://lore.kernel.org/linux-kernel/20250212104239.GF19118@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/ Clarify context-switch sync: https://lore.kernel.org/linux-kernel/CA+i-1C2CcQmrbdv0wLUJFD6m85D7LekejU=VdgMxnqZW=DRPxA@xxxxxxxxxxxxxx/ (there's another mention of it somewhere that I can't find) Suggestion for WARN_ON_ONCE: https://lore.kernel.org/linux-kernel/CA+i-1C3-F-VAy_JccwKx_AcD1mXsVcGHGwUFvi_ruAiqusiXZQ@xxxxxxxxxxxxxx/