Re: [PATCH 2/7] x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions

2020-04-27 Thread Fenghua Yu
On Sun, Apr 26, 2020 at 01:06:33PM +0200, Thomas Gleixner wrote: > Fenghua Yu writes: > > A user space application can execute ENQCMD instruction to submit work > > to device. The kernel executes ENQCMDS instruction to submit work to > > device. > > So a user space application _can_ execute

Re: [PATCH 2/7] x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions

2020-04-26 Thread Thomas Gleixner
Fenghua Yu writes: > A user space application can execute ENQCMD instruction to submit work > to device. The kernel executes ENQCMDS instruction to submit work to > device. So a user space application _can_ execute ENQCMD and the kernel executes ENQCMDS. And both submit work to device. > There

[PATCH 2/7] x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions

2020-03-30 Thread Fenghua Yu
A user space application can execute ENQCMD instruction to submit work to device. The kernel executes ENQCMDS instruction to submit work to device. There is a lot of other enabling needed for the instructions to actually be usable in user space and the kernel, and that enabling is coming later in