aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorBrian Inglis <Brian.Inglis@SystematicSW.ab.ca>2020-10-13 09:11:08 -0600
committerCorinna Vinschen <corinna@vinschen.de>2020-10-13 18:14:02 +0200
commit3fd14da2c36f32a6a8d5b8f2f6ed6fc38b9e90e3 (patch)
tree0bd8c1a23d6e30914bf63b15c35e1fd5ac311ae2 /winsup
parent1ed2fe0f03f4c8f9cb663c36720e786a229bcabe (diff)
downloadnewlib-3fd14da2c36f32a6a8d5b8f2f6ed6fc38b9e90e3.zip
newlib-3fd14da2c36f32a6a8d5b8f2f6ed6fc38b9e90e3.tar.gz
newlib-3fd14da2c36f32a6a8d5b8f2f6ed6fc38b9e90e3.tar.bz2
format_proc_cpuinfo: add enqcmd cpuinfo flag
Add linux-next 5.9 cpuinfo flag for Intel enqcmd/s instructions: x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions: Work submission instruction comes in two flavors. ENQCMD can be called both in ring 3 and ring 0 and always uses the contents of a PASID MSR when shipping the command to the device. ENQCMDS allows a kernel driver to submit commands on behalf of a user process. The driver supplies the PASID value in ENQCMDS. There isn't any usage of ENQCMD in the kernel as of now. The CPU feature flag is shown as "enqcmd" in /proc/cpuinfo.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/fhandler_proc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 6f6e829..1339715 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -1563,6 +1563,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
ftcprint (features1, 25, "cldemote"); /* cldemote instr */
ftcprint (features1, 27, "movdiri"); /* movdiri instr */
ftcprint (features1, 28, "movdir64b"); /* movdir64b instr */
+ ftcprint (features1, 29, "enqcmd"); /* enqcmd/s instructions*/
}
/* AMD MCA cpuid 0x80000007 ebx */