From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753148AbaKQBBx (ORCPT ); Sun, 16 Nov 2014 20:01:53 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:52070 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751612AbaKQBBv (ORCPT ); Sun, 16 Nov 2014 20:01:51 -0500 From: "Rafael J. Wysocki" To: Geert Uytterhoeven Cc: Kevin Hilman , Ulf Hansson , Geert Uytterhoeven , Linux PM list , linaro-kernel , Grygorii Strashko , Len Brown , Pavel Machek , open list Subject: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled Date: Mon, 17 Nov 2014 02:22:52 +0100 Message-ID: <6465990.KKns6W8hQE@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.16.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1415917702-6742-1-git-send-email-khilman@kernel.org> <7ha93t8z1q.fsf@deeprootsystems.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: > Hi Kevin, > > On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman wrote: > >> On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > >>> It makes little sense to use generic power domains without runtime PM. > >> > >> Does it? > >> It still powers down the PM domains on system suspend (at least on my > >> boards ;-) > > > > Sure, but your devices are also using runtime PM, so I'm not sure how > > does that change my statement above? > > I do mean with CONFIG_PM_RUNTIME turned off. > > If PM domain support is disabled, s2ram will not power down the PM domains. But if PM_RUNTIME is enabled along with it, I don't think it will make much of a different, will it? Building the kernel with genpd and without PM_RUNTIME is possible today, but is it really useful? To me, it only seems to make people try to reinvent the wheel "because PM_RUNTIME may be unset". I have to say I'm seriously considering to make PM_SLEEP select PM_RUNTIME too as that would make quite a few things a *lot* simpler. -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.