[PATCH 1/2] fhandler_proc.cc(format_proc_cpuinfo): add microcode registry lookup values

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 9 07:56:21 GMT 2020


On Jul  7 13:00, Brian Inglis wrote:
> Re: CPU microcode reported wrong in /proc/cpuinfo
>     https://sourceware.org/pipermail/cygwin/2020-May/245063.html
> earlier Windows releases used different registry values to store microcode
> revisions depending on the MSR name being used to get microcode revisions:
> add these alternative registry values to the cpuinfo registry value lookup;
> iterate thru the registry data until a valid microcode revision is found;
> some revision values are in the high bits, so if the low bits are all clear,
> shift the revision value down into the low bits
> ---
>  winsup/cygwin/fhandler_proc.cc | 44 +++++++++++++++++++++++++++-------
>  1 file changed, 35 insertions(+), 9 deletions(-)

Series pushed.  I'm going to release Cygwin 3.1.6 today.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer


More information about the Cygwin-patches mailing list