public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
@ 2022-01-12  6:04 Brian Inglis
  2022-01-12 10:18 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Inglis @ 2022-01-12  6:04 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]


0x00000007:1 Intel Advanced Matrix eXtensions:
		 EAX:22 amx_bf16 Brain Float 16 dot product
		 EAX:24 amx_tile Tile matrix multiply
		 EAX:25 amx_int8 Int 8 byte dot product
0x80000008:0 AMD EBX:27 cppc      Collaborative Processor Performance Control
---
 winsup/cygwin/fhandler_proc.cc | 4 ++++
 1 file changed, 4 insertions(+)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-fhandler_proc.cc-format_proc_cpuinfo-add-Linux-5.16-Gobble-Gobble-flags.patch --]
[-- Type: text/x-patch; name="0001-fhandler_proc.cc-format_proc_cpuinfo-add-Linux-5.16-Gobble-Gobble-flags.patch", Size: 1172 bytes --]

diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 6ec6f8bc47d9..d51f171a3a41 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -1456,6 +1456,9 @@ format_proc_cpuinfo (void *, char *&destbuf)
 
 	  ftcprint (features1,  4, "avx_vnni");	    /* vex enc NN vec */
 	  ftcprint (features1,  5, "avx512_bf16");  /* vec bfloat16 short */
+	  ftcprint (features1, 22, "amx_bf16");	    /* Advanced Matrix eXtensions Brain Float 16 dot product */
+	  ftcprint (features1, 24, "amx_tile");	    /* Advanced Matrix eXtensions Tile matrix multiply */
+	  ftcprint (features1, 25, "amx_int8");	    /* Advanced Matrix eXtensions Int 8 byte dot product */
 	}
 
       /* AMD cpuid 0x80000008 ebx */
@@ -1479,6 +1482,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
 /*	  ftcprint (features1, 24, "ssbd"); */	    /* spec store byp dis */
 	  ftcprint (features1, 25, "virt_ssbd");    /* vir spec store byp dis */
 /*	  ftcprint (features1, 26, "ssb_no"); */    /* ssb fixed in hardware */
+	  ftcprint (features1, 27, "cppc");	    /* collab proc perf ctl */
         }
 
       /* thermal & power cpuid 0x00000006 eax */

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
  2022-01-12  6:04 [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags Brian Inglis
@ 2022-01-12 10:18 ` Corinna Vinschen
  2022-01-12 16:32   ` Brian Inglis
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2022-01-12 10:18 UTC (permalink / raw)
  To: cygwin-patches

On Jan 11 23:04, Brian Inglis wrote:
> Subject: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble   Gobble flags

Gobble Gobble?

Did I miss something or is that a preliminary subject line? :)


Corinna

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
  2022-01-12 10:18 ` Corinna Vinschen
@ 2022-01-12 16:32   ` Brian Inglis
  2022-01-12 18:44     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Inglis @ 2022-01-12 16:32 UTC (permalink / raw)
  To: cygwin-patches

On 2022-01-12 03:18, Corinna Vinschen wrote:
> On Jan 11 23:04, Brian Inglis wrote:
>> Subject: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
> 
> Gobble Gobble?
> 
> Did I miss something or is that a preliminary subject line? :)

Linux 5.16 codename from rc3 which came out about US Thanksgiving; see 
bottom of thread:

https://lkml.kernel.org/lkml/163789349650.12632.8523698126811716771.pr-tracker-bot@kernel.org/t/#u

noticed:

https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.16-rc3

from scripts monitoring cpuid usage and cpuinfo changes across releases:

diff -pu linux-prev/Makefile linux-next/Makefile
--- linux-prev/Makefile	2021-10-31 14:53:10.000000000 -0600
+++ linux-next/Makefile	2022-01-11 07:45:05.000000000 -0700
@@ -1,9 +1,9 @@
  # SPDX-License-Identifier: GPL-2.0
  VERSION = 5
-PATCHLEVEL = 15
+PATCHLEVEL = 16
  SUBLEVEL = 0
  EXTRAVERSION =
-NAME = Trick or Treat
+NAME = Gobble Gobble
...

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

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
  2022-01-12 16:32   ` Brian Inglis
@ 2022-01-12 18:44     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2022-01-12 18:44 UTC (permalink / raw)
  To: cygwin-patches

On Jan 12 09:32, Brian Inglis wrote:
> On 2022-01-12 03:18, Corinna Vinschen wrote:
> > On Jan 11 23:04, Brian Inglis wrote:
> > > Subject: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags
> > 
> > Gobble Gobble?
> > 
> > Did I miss something or is that a preliminary subject line? :)
> 
> Linux 5.16 codename from rc3 which came out about US Thanksgiving; see
> bottom of thread:
> 
> https://lkml.kernel.org/lkml/163789349650.12632.8523698126811716771.pr-tracker-bot@kernel.org/t/#u
> 
> noticed:
> 
> https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.16-rc3
> 
> from scripts monitoring cpuid usage and cpuinfo changes across releases:
> 
> diff -pu linux-prev/Makefile linux-next/Makefile
> --- linux-prev/Makefile	2021-10-31 14:53:10.000000000 -0600
> +++ linux-next/Makefile	2022-01-11 07:45:05.000000000 -0700
> @@ -1,9 +1,9 @@
>  # SPDX-License-Identifier: GPL-2.0
>  VERSION = 5
> -PATCHLEVEL = 15
> +PATCHLEVEL = 16
>  SUBLEVEL = 0
>  EXTRAVERSION =
> -NAME = Trick or Treat
> +NAME = Gobble Gobble

Heh, ok.  Thanks and pushed.


Corinna

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-12 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12  6:04 [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags Brian Inglis
2022-01-12 10:18 ` Corinna Vinschen
2022-01-12 16:32   ` Brian Inglis
2022-01-12 18:44     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).