From: Kevin Hilman Subject: Re: [PATCH V2] PM / Domains: Remove cpuidle attach Date: Tue, 01 Sep 2015 15:51:43 -0700 Message-ID: <7h7fo97ny8.fsf@deeprootsystems.com> References: <1441132670-10111-1-git-send-email-daniel.lezcano@linaro.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1441132670-10111-1-git-send-email-daniel.lezcano@linaro.org> (Daniel Lezcano's message of "Tue, 1 Sep 2015 20:37:49 +0200") Sender: linux-kernel-owner@vger.kernel.org To: Daniel Lezcano Cc: rjw@rjwysocki.net, zhaoyang.huang@linaro.org, Ulf Hansson , Pavel Machek , Len Brown , Greg Kroah-Hartman , "open list:GENERIC PM DOMAINS" , open list List-Id: linux-pm@vger.kernel.org Daniel Lezcano writes: > The power domains code allows to tie a cpuidle state with a power domain. > > Preventing the cpuidle framework to enter a specific idle state by disabling > from the power domain framework is a good idea. Unfortunately, the current > implementation has some gaps with a SMP system and a complex cpuidle > implementation. Enabling a power domain wakes up all the cpus even if a cpu > does not belong to the power domain. > > There is some work to do a logical representation with the power domains of > the hardware dependencies (eg. a cpu belongs to a power domains, these power > domains belong to a higher power domain for a cluster, etc ...). A new code > relying on the genpd hierarchy to disable the idle states would make more > sense. > > As the unique user of this code has been removed, let's wipe out this code > to prevent new user and to have a clean place to put a new implementation. > > Signed-off-by: Daniel Lezcano Acked-by: Kevin Hilman