From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sK9DN2mrNzDrK5 for ; Thu, 25 Aug 2016 00:48:52 +1000 (AEST) Received: by mail-pf0-x241.google.com with SMTP id g202so1370806pfb.1 for ; Wed, 24 Aug 2016 07:48:52 -0700 (PDT) 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 MIME-Version: 1.0 In-Reply-To: <57BDB2D8.4080507@linaro.org> Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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