Re: [PATCH 04/12] x86/mm: get INVLPGB count max from CPUID

From: Borislav Petkov
Date: Fri Jan 10 2025 - 15:34:59 EST


On Fri, Jan 10, 2025 at 03:27:37PM -0500, Rik van Riel wrote:
> I don't see X86_FEATURE_TLBI defined in the tip
> tree. Which CPUID bit does that need to be?

It should be added as:

#define X86_FEATURE_INVLPGB (13*32+ 3) /* INVLPGB and TLBSYNC instruction supported. */

in arch/x86/include/asm/cpufeatures.h

--
Regards/Gruss,
Boris.

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