From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754672AbbIAWvs (ORCPT ); Tue, 1 Sep 2015 18:51:48 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:33911 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754637AbbIAWvq (ORCPT ); Tue, 1 Sep 2015 18:51:46 -0400 From: Kevin Hilman To: Daniel Lezcano Cc: rjw@rjwysocki.net, zhaoyang.huang@linaro.org, Ulf Hansson , Pavel Machek , Len Brown , Greg Kroah-Hartman , linux-pm@vger.kernel.org (open list:GENERIC PM DOMAINS), linux-kernel@vger.kernel.org (open list) Subject: Re: [PATCH V2] PM / Domains: Remove cpuidle attach References: <1441132670-10111-1-git-send-email-daniel.lezcano@linaro.org> Date: Tue, 01 Sep 2015 15:51:43 -0700 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") Message-ID: <7h7fo97ny8.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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