Thread (8 messages) 8 messages, 3 authors, 2016-08-25

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

From: Daniel Lezcano <hidden>
Date: 2016-08-24 15:06:41
Also in: linux-pm, lkml

On 08/24/2016 04:48 PM, Balbir Singh wrote:

On 25/08/16 00:44, Daniel Lezcano wrote:
quoted
On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote:
quoted
From: "Gautham R. Shenoy" <redacted>

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
Ok, let me elaborate the question, I was not clear.

Why the userspace can't setup the system environment at boot time by
disabling the state instead of adding extra code to disable it at boot
time in the kernel and then re-enable it from userspace ?

  -- Daniel


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help