Re: [PATCH] Cygwin: mkdir and rmdir: treat drive names specially

2019-10-07 Thread Ken Brown
On 9/27/2019 2:44 PM, Ken Brown wrote: > If the directory name has the form 'x:' followed by one or more > slashes or backslashes, and if there's at least one backslash, assume > that the user is referring to 'x:\', the root directory of drive x, > and don't strip the backslash. > > Previously all

Re: [PATCH v3 00/10] fhandler_proc.cc(format_proc_cpuinfo): fix issues, add fields, feature flags

2019-10-07 Thread Ken Brown
On 10/7/2019 12:22 PM, Brian Inglis wrote: > * fix cache size return code handling and make AMD/Intel code common > * fix cpuid level count as number of non-zero leafs excluding sub-leafs > * fix AMD physical cores count documented as core_info low byte + 1 > * round cpu MHz to correct Wind

[PATCH v3 07/10] fhandler_proc.cc(format_proc_cpuinfo): use feature test print macro

2019-10-07 Thread Brian Inglis
feature test print macro makes feature, bit, and flag text comparison and checking easier; handle as common former Intel only feature flags also supported on AMD; change order and some flag names to agree with current Linux --- winsup/cygwin/fhandler_proc.cc | 421 -

[PATCH v3 10/10] fhandler_proc.cc(format_proc_cpuinfo): or model extension bits

2019-10-07 Thread Brian Inglis
or model extension bits into model high bits instead of adding arithmetically like family extension --- winsup/cygwin/fhandler_proc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index c924cf2e0..8c331f5f4 100

[PATCH v3 06/10] fhandler_proc.cc(format_proc_cpuinfo): add microcode

2019-10-07 Thread Brian Inglis
add microcode from Windows registry Update Revision REG_BINARY --- winsup/cygwin/fhandler_proc.cc | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 8c290d2ff..51bbdc43f 100644 --- a

[PATCH v3 04/10] fhandler_proc.cc(format_proc_cpuinfo): round cpu MHz

2019-10-07 Thread Brian Inglis
round cpu MHz to correct Windows and match Linux cpuinfo --- winsup/cygwin/fhandler_proc.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index c94cde910..86c1f6253 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwi

[PATCH v3 05/10] fhandler_proc.cc(format_proc_cpuinfo): add bogomips

2019-10-07 Thread Brian Inglis
add bogomips which has been cpu MHz*2 since Pentium MMX --- winsup/cygwin/fhandler_proc.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 86c1f6253..8c290d2ff 100644 --- a/winsup/cygwin/fhandler_proc.cc

[PATCH v3 08/10] fhandler_proc.cc(format_proc_cpuinfo): add feature flags

2019-10-07 Thread Brian Inglis
add 99 feature flags inc. AVX512 extensions, AES, SHA with 20 cpuid calls --- winsup/cygwin/fhandler_proc.cc | 238 +++-- 1 file changed, 229 insertions(+), 9 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index fbcec38df..13

[PATCH v3 09/10] fhandler_proc.cc(format_proc_cpuinfo): comment flags not reported

2019-10-07 Thread Brian Inglis
comment out flags not reported by Linux in cpuinfo, although some flags may not be used at all by Linux --- winsup/cygwin/fhandler_proc.cc | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_p

[PATCH v3 03/10] fhandler_proc.cc(format_proc_cpuinfo): fix AMD physical cores count

2019-10-07 Thread Brian Inglis
fix AMD physical cores count documented as core_info low byte + 1 --- winsup/cygwin/fhandler_proc.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 78518baf9..c94cde910 100644 --- a/winsup/cygwin/fhandler

[PATCH v3 02/10] fhandler_proc.cc(format_proc_cpuinfo): fix cpuid level count

2019-10-07 Thread Brian Inglis
fix cpuid level count as number of non-zero leafs excluding sub-leafs --- winsup/cygwin/fhandler_proc.cc | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 13cc36858..78518baf9 100644 --- a/

[PATCH v3 01/10] fhandler_proc.cc(format_proc_cpuinfo): fix cache size

2019-10-07 Thread Brian Inglis
fix cache size return code handling and make AMD/Intel code common --- winsup/cygwin/fhandler_proc.cc | 45 ++ 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 48476beb8..13cc36858

[PATCH v3 00/10] fhandler_proc.cc(format_proc_cpuinfo): fix issues, add fields, feature flags

2019-10-07 Thread Brian Inglis
* fix cache size return code handling and make AMD/Intel code common * fix cpuid level count as number of non-zero leafs excluding sub-leafs * fix AMD physical cores count documented as core_info low byte + 1 * round cpu MHz to correct Windows and match Linux cpuinfo * add bogomips which