Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp466549pxa; Wed, 12 Aug 2020 06:39:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0H4YAaPJd8PctXDHsvSwJhtsqo5/syXUttGLf+bSFUOpzoYGV1tPNetgnst2xSCuApiPc X-Received: by 2002:a05:6402:1846:: with SMTP id v6mr31236164edy.179.1597239583639; Wed, 12 Aug 2020 06:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597239583; cv=none; d=google.com; s=arc-20160816; b=HIcQh0jvLtRHhDevaX5x/a+zTBbEKG7t2DXt+KXbYSoGmaLT19ACvOiDFk4hx8dmsW Gtlw4todg7dFZJf1CHA39npklES8z5/1RLaHO8CYL/iZwHPWVxcvzaEpYoyzTZ09ex3h BUZQLVz1UQFcIOON4w+MX4EsW5R2Sj3P+r0MUej3y5lW6xzIJCBxe2v/OmV+dwTqeiXA jKYxf39yWpCB1qJpJxluX22j06obL9Xrg0ak0Q83Tj+cUygVCAUgvKXVVNZ0YDhj/U+3 sZqgAfVGg2fmU0cOFLj+6ZsleVVA9SUnKIlxYlGq9/TtZrfJNUe8QoBbOyBj+pGos45S raDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=EqmfoHwHYf9z8PU4YayuKnZvoScvaXacGH6oCTRqhOg=; b=fhDC8NVVlz3z7SIYRuULGPa29Dkn2xQ0N4z5a2zI52Z0w/Re2TNvLrkgXICPHDXMrQ Jre+2nRUznvJpbyUTcHTx078i4ljoNjHbKb4K+4NZwdNmcN5WaBS7BLhYrFmh1kDvPfl TAeBXO9d8fshGeWoe0GtET7bb5PC2t8zbbG9hAZXjS7Sikul1pZNBpfD77ub5fuNDxHO I0L3FJbPykqSIdatthv/eGHTf0YJSHYiI4wlUMFINjSR4P9y6fce5gzM6mY5Yip/PNMH PqMXRXG6xqoI/J5UfrwGC71lqC5OXzqCYwSquihhxoO9H3psFPVqXHLl+ewdVJ8G8WEN pTJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=FDBkzwfe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si1439758edx.494.2020.08.12.06.39.19; Wed, 12 Aug 2020 06:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=FDBkzwfe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgHLNgh (ORCPT + 99 others); Wed, 12 Aug 2020 09:36:37 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:10274 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727854AbgHLNgg (ORCPT ); Wed, 12 Aug 2020 09:36:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1597239396; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=EqmfoHwHYf9z8PU4YayuKnZvoScvaXacGH6oCTRqhOg=; b=FDBkzwfeQFFR2sc8hJlER9MHXeq44qHhy2GcXiP1skxSiJ92vATRxm9syn5dSQHc/whHYc34 jpSoLCrKHWwmwSWlBoNfqOxI03Qz70QdzqB1tbvVJNCo+lKhmGpX1hXLAKFH01mBSdZVfkk+ fy/wS0JElF5VvmI3xj2pKXt7fdw= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 5f33f05c247ccc308c1f0f06 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 12 Aug 2020 13:36:28 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 88453C433CA; Wed, 12 Aug 2020 13:36:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id B3641C433C6; Wed, 12 Aug 2020 13:36:26 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 12 Aug 2020 19:06:26 +0530 From: Sibi Sankar To: Stephen Boyd Cc: bjorn.andersson@linaro.org, rjw@rjwysocki.net, ulf.hansson@linaro.org, agross@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, pavel@ucw.cz, len.brown@intel.com, rnayak@codeaurora.org, dianders@chromium.org, khilman@kernel.org Subject: Re: [PATCH 1/2] PM / Domains: Add GENPD_FLAG_SUSPEND_ON flag In-Reply-To: <159718192589.1360974.15808376172581486987@swboyd.mtv.corp.google.com> References: <20200811190252.10559-1-sibis@codeaurora.org> <159718192589.1360974.15808376172581486987@swboyd.mtv.corp.google.com> Message-ID: <4f87d7dfbee7553f3ea7a1a6e12b3fa7@codeaurora.org> X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Stephen, Thanks for taking time to review the series! On 2020-08-12 03:08, Stephen Boyd wrote: > Quoting Sibi Sankar (2020-08-11 12:02:51) >> diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h >> index ee11502a575b0..3002a2d68936a 100644 >> --- a/include/linux/pm_domain.h >> +++ b/include/linux/pm_domain.h >> @@ -55,6 +55,10 @@ >> * >> * GENPD_FLAG_RPM_ALWAYS_ON: Instructs genpd to always keep the PM >> domain >> * powered on except for system suspend. >> + * >> + * GENPD_FLAG_SUSPEND_ON: Instructs genpd to keep the PM domain >> powered >> + * on during suspend and runtime PM >> controlled > > Maybe, "powered on across system suspend (if it is already powered on)" > to match the hunk above that talks about system suspend for > GENPD_FLAG_RPM_ALWAYS_ON. Otherwise someone may think that this powers > on the genpd during suspend or powers it on during runtime suspend. Sure, I'll add ^^ in the next re-spin. > >> + * otherwise. >> */ >> #define GENPD_FLAG_PM_CLK (1U << 0) >> #define GENPD_FLAG_IRQ_SAFE (1U << 1) -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.