Re: [tip: x86/cpu] x86/cpufeatures: Add {REQUIRED,DISABLED} feature configs
From: Ingo Molnar
Date: Mon Mar 10 2025 - 14:57:25 EST
* H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> >+config X86_DISABLED_FEATURE_FRED
> >+ def_bool y
> >+ depends on !X86_FRED
> >+
> >+config X86_DISABLED_FEATURE_SEV_SNP
> >+ def_bool y
> >+ depends on !KVM_AMD_SEV
> >+
> >+config X86_DISABLED_FEATURE_INVLPGB
> >+ def_bool y
> >+ depends on !BROADCAST_TLB_FLUSH
>
> I think it is worth noting that the list here was intentionally
> unchanged from the previous definitions, but that several of these
> could and probably should be overhauled.
Yeah, note that this list was *not* unchanged since the -v1 submission,
there's two new dependencies we added since -v1 which ended with the
FRED entry:
- X86_DISABLED_FEATURE_INVLPGB dependency we added today, which is due
to a new feature freshly merged into tip:x86/mm.
- X86_DISABLED_FEATURE_SEV_SNP was added a bit back - that too is a
fresh sub-feature.
So we are aware, but we are also limited by what we notice. :-)
> For example, CPUID is actually required by any i586+ configuration.
Mind sending patches for anything you can think of? This series is now
headed for v6.15 via tip:x86/cpu, modulo any unexpected catastrophes in
-next testing.
Thanks,
Ingo