public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] fhandler_proc.cc(format_proc_cpuinfo): add Linux Superb Owl cpuinfo flags Date: Fri, 1 Apr 2022 12:54:47 +0000 (GMT) [thread overview] Message-ID: <20220401125447.78E7A3858427@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3e3ccfaee6b3c36944e445d68543e8be4654c535 commit 3e3ccfaee6b3c36944e445d68543e8be4654c535 Author: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca> Date: Wed Mar 23 22:57:58 2022 -0600 fhandler_proc.cc(format_proc_cpuinfo): add Linux Superb Owl cpuinfo flags 0x00000007:1 EBX:0 intel_ppin Intel Protected Processor Inventory Number 0x00000006:0 EAX:19 hfi Hardware Feedback Interface 0x00000007:0 EDX:20 ibt Intel Indirect Branch Tracking Diff: --- winsup/cygwin/fhandler_proc.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 0b01e68f8..9ba241981 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -1303,6 +1303,13 @@ format_proc_cpuinfo (void *, char *&destbuf) ftcprint (features1, 3, "epb"); /* energy perf bias */ } + /* cpuid 0x00000007:1 ebx */ + if (maxf >= 0x00000007) + { + cpuid (&unused, &features1, &unused, &unused, 0x00000007, 1); + + ftcprint (features1, 0, "intel_ppin"); /* Prot Proc Id No */ + } /* cpuid 0x00000010 ebx */ if (maxf >= 0x00000010) { @@ -1330,8 +1337,6 @@ format_proc_cpuinfo (void *, char *&destbuf) /* ftcprint (features1, 11, "pti");*//* Page Table Isolation reqd with Meltdown */ -/* ftcprint (features1, 14, "intel_ppin");*//* MSR_PPIN_CTL Prot Proc Id No */ - /* cpuid 0x00000010:2 ecx */ if (maxf >= 0x00000010) { @@ -1497,6 +1502,7 @@ format_proc_cpuinfo (void *, char *&destbuf) ftcprint (features1, 9, "hwp_act_window"); /* HWP activity window */ ftcprint (features1, 10, "hwp_epp"); /* HWP energy perf pref */ ftcprint (features1, 11, "hwp_pkg_req"); /* HWP package level req */ + ftcprint (features1, 19, "hfi"); /* Hardware Feedback Interface */ } /* AMD SVM cpuid 0x8000000a edx */ @@ -1573,6 +1579,7 @@ format_proc_cpuinfo (void *, char *&destbuf) ftcprint (features1, 16, "tsxldtrk"); /* TSX Susp Ld Addr Track */ ftcprint (features1, 18, "pconfig"); /* platform config */ ftcprint (features1, 19, "arch_lbr"); /* last branch records */ + ftcprint (features1, 20, "ibt"); /* Indirect Branch Tracking */ ftcprint (features1, 22, "amx_bf16"); /* Advanced Matrix eXtensions Brain Float 16 dot product */ ftcprint (features1, 23, "avx512_fp16"); /* avx512 fp16 */ ftcprint (features1, 24, "amx_tile"); /* Advanced Matrix eXtensions Tile matrix multiply */
reply other threads:[~2022-04-01 12:54 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220401125447.78E7A3858427@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).