On Mon, Jan 09, 2023 at 09:50:20PM +0000, Luck, Tony wrote: > But that allows for the flimsiest of reasons to used to justify making a > flag visible. How's that for starters? c: The naming override can be "", which means it will not appear in /proc/cpuinfo. ---------------------------------------------------------------------------------- The feature shall be omitted from /proc/cpuinfo if there is no valid use case for userspace to query this flag and cannot rely on other means for detecting feature support. For example, toolchains do use CPUID directly instead of relying on the kernel providing that info. If unsure, that flag can always be omitted initially and, once a valid use case presents itself, be shown later. Not the other way around. Another example is X86_FEATURE_ALWAYS, defined in cpufeatures.h. That flag is an internal kernel feature used in the alternative runtime patching functionality. So, its name is overridden with "". Its flag will not appear in /proc/cpuinfo because it absolutely does not make any sense to appear there. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette