4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 12:30:24 +08:00

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.
This commit is contained in:
Brian Inglis 2020-10-13 09:11:08 -06:00 committed by Ken Brown
parent a51546be1a
commit 0d65875bed

View File

@ -1563,6 +1563,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
ftcprint (features1, 25, "cldemote"); /* cldemote instr */ ftcprint (features1, 25, "cldemote"); /* cldemote instr */
ftcprint (features1, 27, "movdiri"); /* movdiri instr */ ftcprint (features1, 27, "movdiri"); /* movdiri instr */
ftcprint (features1, 28, "movdir64b"); /* movdir64b instr */ ftcprint (features1, 28, "movdir64b"); /* movdir64b instr */
ftcprint (features1, 29, "enqcmd"); /* enqcmd/s instructions*/
} }
/* AMD MCA cpuid 0x80000007 ebx */ /* AMD MCA cpuid 0x80000007 ebx */