From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756518AbcHXOuV (ORCPT ); Wed, 24 Aug 2016 10:50:21 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36171 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754463AbcHXOuS (ORCPT ); Wed, 24 Aug 2016 10:50:18 -0400 Subject: Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start To: Daniel Lezcano , "Gautham R. Shenoy" , "Rafael J. Wysocki" , Michael Ellerman , Benjamin Herrenschmidt , Michael Neuling , Paul Mackerras , Vaidyanathan Srinivasan References: <48afad7788300482c047fc35e70ca8e4bf31a5ac.1471557381.git.ego@linux.vnet.ibm.com> <57BDB2D8.4080507@linaro.org> Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Anton Blanchard , linux-pm@vger.kernel.org From: Balbir Singh Message-ID: Date: Thu, 25 Aug 2016 00:48:38 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <57BDB2D8.4080507@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/08/16 00:44, Daniel Lezcano wrote: > On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote: >> From: "Gautham R. Shenoy" >> >> 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