Re: [PATCH v3 1/2] x86, mwaitt: add monitorx and mwaitx instruction

2015-06-11 Thread Huang Rui
On Thu, Jun 11, 2015 at 04:19:04PM +0200, Borislav Petkov wrote: > On Thu, Jun 11, 2015 at 10:14:10PM +0800, Huang Rui wrote: > > On AMD Carrizo processors (Family 15h, Model 60h-6fh), there is a new > > feature called MWAITT (Mwait with a timer) as an extension of > > Monitor/Mwait. > > > > MWAIT

Re: [PATCH v3 1/2] x86, mwaitt: add monitorx and mwaitx instruction

2015-06-11 Thread Borislav Petkov
On Thu, Jun 11, 2015 at 10:14:10PM +0800, Huang Rui wrote: > On AMD Carrizo processors (Family 15h, Model 60h-6fh), there is a new > feature called MWAITT (Mwait with a timer) as an extension of > Monitor/Mwait. > > MWAITT, another name is MWAITX (MWAIT with extensions), has a configurable > timer

[PATCH v3 1/2] x86, mwaitt: add monitorx and mwaitx instruction

2015-06-11 Thread Huang Rui
On AMD Carrizo processors (Family 15h, Model 60h-6fh), there is a new feature called MWAITT (Mwait with a timer) as an extension of Monitor/Mwait. MWAITT, another name is MWAITX (MWAIT with extensions), has a configurable timer that causes MWAITX to exit on expiration. Compared with MONITOR/MWAIT