Re: [PATCH v5 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-23 Thread Thomas Gleixner
On Wed, 19 Jun 2019, Fenghua Yu wrote: > C0.2 state in umwait and tpause instructions can be enabled or disabled > on a processor through IA32_UMWAIT_CONTROL MSR register. through the IA32CONTROL MSR. MSR register, IOW: Machine Specific Register register. > > Andy Lutomirski suggests to t

[PATCH v5 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-19 Thread Fenghua Yu
C0.2 state in umwait and tpause instructions can be enabled or disabled on a processor through IA32_UMWAIT_CONTROL MSR register. By default, C0.2 is enabled and the user wait instructions result in lower power consumption with slower wakeup time. But in real time systems which require faster wake