From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: Re: [PATCH 1/4] soc: dove: Let genpd deal with disabling of unused PM domains Date: Thu, 15 Oct 2015 09:57:55 +0200 Message-ID: <87a8rk36nw.fsf@free-electrons.com> References: <1444134450-17895-1-git-send-email-ulf.hansson@linaro.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from down.free-electrons.com ([37.187.137.238]:56189 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750711AbbJOH6H (ORCPT ); Thu, 15 Oct 2015 03:58:07 -0400 In-Reply-To: <1444134450-17895-1-git-send-email-ulf.hansson@linaro.org> (Ulf Hansson's message of "Tue, 6 Oct 2015 14:27:30 +0200") Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Ulf Hansson , Sebastian Hesselbarth Cc: "Rafael J. Wysocki" , Kevin Hilman , linux-pm@vger.kernel.org, Len Brown , Pavel Machek , Geert Uytterhoeven , Lina Iyer , Krzysztof Kozlowski , Russell King , Andrew Lunn Hi Ulf and Sebastian, On mar., oct. 06 2015, Ulf Hansson wrote: > Genpd tries from a late_initcall to disable unused PM domains, which makes > it unnecessary to also manage this from any earlier phase when for example > initializing a genpd. I can't test it and I didn't follow this part. Sebastian could you have a look on this patch? Thanks, Gregory > > Cc: Russell King > Cc: Andrew Lunn > Cc: Gregory CLEMENT > Signed-off-by: Ulf Hansson > --- > drivers/soc/dove/pmu.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c > index 052aecf..abd0879 100644 > --- a/drivers/soc/dove/pmu.c > +++ b/drivers/soc/dove/pmu.c > @@ -396,7 +396,6 @@ int __init dove_init_pmu(void) > > __pmu_domain_register(domain, np); > } > - pm_genpd_poweroff_unused(); > > /* Loss of the interrupt controller is not a fatal error. */ > parent_irq = irq_of_parse_and_map(pmu->of_node, 0); > -- > 1.9.1 > -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com