Re: [PATCH v2] x86/mm: Disable broadcast TLB flush when PCID is disabled

From: Rik van Riel

Date: Tue May 19 2026 - 15:29:22 EST


On Tue, 2026-05-19 at 14:22 -0500, Tom Lendacky wrote:
>
> All processors that support broadcast TLB invalidation also have PCID
> support, so it is only the "nopcid" scenario that is of concern. In
> this situation just disable the broadcast TLB support using the CPUID
> dependency support by making X86_FEATURE_INVLPGB dependent on
> X86_FEATURE_PCID.
>
> Fixes: 4afeb0ed1753 ("x86/mm: Enable broadcast TLB invalidation for
> multi-threaded processes")
> Assisted-by: Claude:claude-opus-4.7
> Suggested-by: Dave Hansen <dave.hansen@xxxxxxxxx>
> Signed-off-by: Tom Lendacky <thomas.lendacky@xxxxxxx>

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

--
All Rights Reversed.