[PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

Brian Inglis Brian.Inglis@systematicsw.ab.ca
Mon Mar 18 14:10:22 GMT 2024


On 2024-03-18 03:33, Corinna Vinschen wrote:
> Hi Brian,
> 
> On Mar 16 10:44, Brian Inglis wrote:
>> add Linux 6.8 cpuinfo flags:
>> Intel 0x00000007:1 eax:17 fred		Flexible Return and Event Delivery;
>> AMD   0x8000001f   eax:4  sev_snp	SEV secure nested paging;
>> document unused and some unprinted bits that could look like omissions;
>> fix typos and misalignments;
> 
> I'm a bit puzzled about the "unused" slots.  You're adding them
> only in some places.  What makes them "look like omissions"?

Mainly because single bits are omitted, presumably because they do not want to 
pollute the symbol space with as yet unused features, just as they do not output 
all features as cpuinfo flags, until it indicates something about the build 
and/or system.

Compare the minimal common standard feature bits defined in the gcc lib cpuid.h 
and gcc cpuinfo.h headers, with Linux cpuinfo cpufeatures.h, and the output of 
the cpuid utility, where almost all bits in older cpuid entries are defined.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin-patches mailing list