Re: [PATCH] x86/cpufeatures: make clearcpuid=invlpgb work

From: Borislav Petkov

Date: Wed Jul 29 2026 - 14:58:01 EST


On Wed, Jul 29, 2026 at 01:06:46PM -0400, Rik van Riel wrote:
> With the recently found INVLPGB / TLBSYNC issue, there has
> been some interest in disabling invlpgb TLB flushing, in
> order to rule out that issue wihle tracking down some
> userspace crash.

Yeah, except we discourage people from using clearcpuid= because that's
a hack.

Let's define a separate cmdline option now, pls, considering this is a valid
use case. And because writing it is looong and error prone and the feature
name is actually TLBI, we could do simply

tlbi=off

and everyone's happy.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette