Re: [PATCH] Cygwin: cpuid: add AArch64 build stubs

Brian Inglis <[email protected]> Sat, 30 May 2026 10:03:17 -0600
Newsgroups gmane.os.cygwin.patches
Organization Systematic Software
Message-ID <[email protected]>
On 2026-05-28 06:33, Jon Turney wrote:
> On 07/05/2026 11:45, Chandru Kumaresan wrote:
>> Hi Corinna,
>>
>> This patch adds ARM64 support for CPU information and cache detection used 
>> by /proc/cpuinfo and sysconf cache queries.
>> Thanks & regards,
>> K Chandru
>> In-lined patch:
>>
>> ---
>>   winsup/cygwin/fhandler/proc.cc       | 242 +++++++++++++++++++++++++++
>>   winsup/cygwin/local_includes/cpuid.h |  21 ++-
>>   winsup/cygwin/sysconf.cc             | 148 ++++++++++++++++
>>   3 files changed, 408 insertions(+), 3 deletions(-)
> 
> Thanks.
> 
> I don't have any substantive comments (apart from "oh, you're supposed to grovel 
> over a registry key to get the cpu information, nice :(").
> 
> Brian,
> 
> I think you're much more familiar with this area of the code than me. Please 
> chime in if you have any comments!

Thanks Jon,

Never received the original patches in my email, so imported all from p-i, and 
will have a look soon, comparing against x86_64 and Linux-next x86 and arm64 
cpufeature enumeration and cpuinfo output.

It would be easier if MS Windows also exposed elevated CPU and MSR info to 
regular user space.

-- 
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 à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry