RE: [PATCH v8: 1/4] x86/msr: Add MSR_MISC_FEATURE_ENABLES and PHIR3MWAIT bit

2016-11-07 Thread Thomas Gleixner
On Fri, 4 Nov 2016, Andrejczuk, Grzegorz wrote: > >>On Tue, 1 Nov 2016, Grzegorz Andrejczuk wrote: > >> > >> +/* Intel Xeon Phi x200 ring 3 MONITOR/MWAIT */ > > > > Oh well. I asked you to make that whole PHI thing go away. > > > > This is a feature which has nothing to do with PHI. It just happ

RE: [PATCH v8: 1/4] x86/msr: Add MSR_MISC_FEATURE_ENABLES and PHIR3MWAIT bit

2016-11-03 Thread Andrejczuk, Grzegorz
>>On Tue, 1 Nov 2016, Grzegorz Andrejczuk wrote: >> >> +/* Intel Xeon Phi x200 ring 3 MONITOR/MWAIT */ > >Oh well. I asked you to make that whole PHI thing go away. > >This is a feature which has nothing to do with PHI. It just happens to be >implemented on PHI. The FEATURES_ENABLES MSR is not

Re: [PATCH v8: 1/4] x86/msr: Add MSR_MISC_FEATURE_ENABLES and PHIR3MWAIT bit

2016-11-03 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Grzegorz Andrejczuk wrote: > > +/* Intel Xeon Phi x200 ring 3 MONITOR/MWAIT */ Oh well. I asked you to make that whole PHI thing go away. This is a feature which has nothing to do with PHI. It just happens to be implemented on PHI. The FEATURES_ENABLES MSR is not at all PHI

Re: [PATCH v8: 1/4] x86/msr: Add MSR_MISC_FEATURE_ENABLES and PHIR3MWAIT bit

2016-11-03 Thread Borislav Petkov
On Tue, Nov 01, 2016 at 11:14:47AM +0100, Grzegorz Andrejczuk wrote: > Intel Xeon Phi x200 (codenamed Knights Landing) allows to enable > MONITOR and MWAIT instructions outside of ring 0. > > The feature is controlled by MSR MISC_FEATURE_ENABLES (0x140). > Setting bit 1 of this register enables it

[PATCH v8: 1/4] x86/msr: Add MSR_MISC_FEATURE_ENABLES and PHIR3MWAIT bit

2016-11-01 Thread Grzegorz Andrejczuk
Intel Xeon Phi x200 (codenamed Knights Landing) allows to enable MONITOR and MWAIT instructions outside of ring 0. The feature is controlled by MSR MISC_FEATURE_ENABLES (0x140). Setting bit 1 of this register enables it, so MONITOR and MWAIT instructions do not cause invalid-opcode exceptions when