Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start

From: Balbir Singh
Date: Wed Aug 24 2016 - 10:50:23 EST




On 25/08/16 00:44, Daniel Lezcano wrote:
> On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote:
>> From: "Gautham R. Shenoy" <ego@xxxxxxxxxxxxxxxxxx>
>>
>> Currently all the idle states registered by a cpu-idle driver are
>> enabled by default. This patch adds a mechanism which allows the
>> driver to hint if an idle-state should start in a disabled state. The
>> cpu-idle core will use this hint to appropriately initialize the
>> usage->disable knob of the CPU device idle state.
>
> Why do you need to do that ?
>

I think patch 2/2 explains the reason as it uses this infrastructure

Balbir Singh