Re: [PATCH] x86/mm: Disable INVLPGB when PTI is enabled

From: Rik van Riel
Date: Tue Jun 10 2025 - 20:43:34 EST


On Tue, 2025-06-10 at 15:24 -0700, Dave Hansen wrote:
>
> Disable INVLPGB if PTI is enabled. Avoid overrunning the small
> bitmap.
>
> Note: this will be fixed up properly by making the bitmap bigger.
> For now, just avoid the mostly theoretical bug.
>
Does that mean the patch to make the bitmap bigger
is a dependency that needs to be in place before
the RAR code (hoping to send out v4 later this week)
can be merged?

> Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
> Fixes: 4afeb0ed1753 ("x86/mm: Enable broadcast TLB invalidation for
> multi-threaded processes")

Acked-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.