Re: [PATCH] cpuidle-haltpoll: make haltpoll aware of 'idle=' override

2019-10-17 Thread Joao Martins
On 10/17/19 8:20 PM, Rafael J. Wysocki wrote: > On Thu, Oct 17, 2019 at 2:41 AM Zhenzhong Duan > wrote: >> and haltpoll >> is built in. If haltpoll is built as a module, still give a chance for >> admin to use it despite 'idle='. > > Why exactly? Do you have any particular use case in mind? > T

Re: [PATCH] cpuidle-haltpoll: make haltpoll aware of 'idle=' override

2019-10-17 Thread Rafael J. Wysocki
On Thu, Oct 17, 2019 at 2:41 AM Zhenzhong Duan wrote: > > Currenly haltpoll isn't aware of the 'idle=' override, the priority is > 'idle=poll' > haltpoll > 'idle=halt'. When 'idle=poll' is used, cpuidle > driver is bypassed but current_driver in sys still shows 'haltpoll'. > > When 'idle=halt' is

[PATCH] cpuidle-haltpoll: make haltpoll aware of 'idle=' override

2019-10-16 Thread Zhenzhong Duan
Currenly haltpoll isn't aware of the 'idle=' override, the priority is 'idle=poll' > haltpoll > 'idle=halt'. When 'idle=poll' is used, cpuidle driver is bypassed but current_driver in sys still shows 'haltpoll'. When 'idle=halt' is used, haltpoll take precedence and make 'idle=halt' no effect. Ad