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

Jon Turney <[email protected]> Thu, 16 Jul 2026 16:56:37 +0100
Newsgroups gmane.os.cygwin.patches
Message-ID <[email protected]>
On 30/05/2026 17:03, Brian Inglis wrote:
> 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.

Brian,

Just a gentle ping to follow this up. Any comments or "looks good"?