Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6918403rwn; Tue, 13 Sep 2022 10:49:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR5E3ZKT8gP9u90NbFQG2M+IfzTlhuMS2rJxe/RZ3j84zZhSc6LWXJ0pN2zHpILwA4ZPvJH6 X-Received: by 2002:a05:6a00:ad1:b0:530:2cb7:84de with SMTP id c17-20020a056a000ad100b005302cb784demr33937512pfl.3.1663091394465; Tue, 13 Sep 2022 10:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663091394; cv=none; d=google.com; s=arc-20160816; b=C1olUbksChK8DxFXlTkPDFwBol/yEQsPAmx3omS46WZS7rPBShl8/Wj6224BnBhuDk gP/CaCfx76tAQ1YlgN6w4Peh6Aj115Zk6qtCZF/oB03NbFoiv7T2u4nOoc0672NVeIXi xUfbWL9GGifSkQoozpmMGpxtoU72uyl6upwgHKRDcurOrOQO50dfaPcplZrE14Tvkzxo 41Yv5hPyoh3FFoWCybBN5aaKTsr8fgh1xxU4xYka+luKNnqdjiX8ePY1LgChP/TIqehK 2HpD9Is4Kvoz5a4mKRCOHrTj2XdBxUOQkF2hK0WJnwhar8SjOkZJNv/AOgh1IvSLVg0p WNYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+D2aa8PettZ+gajRv9WE2n4dG1IRjQbOdCP5/ZsNCXU=; b=qHnvN5w6RGpkczXZ/dn81IdW/FLaAnZBTh5QU5HLbvvT+wuFR7cw77C9JQDq06Yz0J KVFYwdjB1PbWrfuyT2oTgwfUE0Zg0n8YSph5orLyKKPO3RKykx1RWgqAU425t4ltDx9x zk2kEDzmJeMDDddErweS672syEmYsPDwCWMQSdy99p9FuqA6a4oPZWQQTC8DqTE44lbs UovJER7S3YSB63HBrRcAHi53YOrmKJmFOSJppPsx5R3OHOsKrD0INpHzSJRp6v6UJCAT By4cCgUT3yu0P+Cw6vkZQcjU8IVQYaDhp6AMjV6FAHGVvnRx7H3ZQjSu5RUVNzzI5jz/ e8iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yK/acudq"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020a17090ab88c00b00202b984842csi9089149pjr.35.2022.09.13.10.49.41; Tue, 13 Sep 2022 10:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yK/acudq"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232964AbiIMRqn (ORCPT + 99 others); Tue, 13 Sep 2022 13:46:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233098AbiIMRqL (ORCPT ); Tue, 13 Sep 2022 13:46:11 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A16AE80491 for ; Tue, 13 Sep 2022 09:42:41 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id x1so12403654plv.5 for ; Tue, 13 Sep 2022 09:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=+D2aa8PettZ+gajRv9WE2n4dG1IRjQbOdCP5/ZsNCXU=; b=yK/acudqmY9tNknsqIBFoKfZN933PY0SUpdMS2BMwePVj/EPc4uGPgmWjbZ6umgl/M OxO5aPJlohPv2HDiUZwakBuQLw+F27SwHExv1jdrIkYl8Hg/NjiueiS6/aqxXQv7Ah19 BO5vmdb1HDXcRBbjVYBmdI+rkVueSCdMc5NVAl2N5jNl2Ypll/UD98ARJWBEFJed1Dyi NnIpsriizo1npXfyPrWY4hESt3zrGJYH3KMb2kD9FTxw2xWRpnSt8oI+jMGODiONwGIT c2CcgrOFCHKwU6NhAYjQ+2h833vwlfklKein5oFbyzPy8k/kFeJlGuzo/+62pq8uV78X VpSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=+D2aa8PettZ+gajRv9WE2n4dG1IRjQbOdCP5/ZsNCXU=; b=tGT09qkLdwWdMFR+t44SHgPksY+NP/lntFt47gHoJnxendSn1bogY07/WHArzw7j2D DHg1JRc0eNxsRjFPa7yZa9q1Uqqu8QbgF3ZGkvV9CusWv6+PRcI8zRaDzp8x/PRsd7Gu ODZJ0PFQx9OQZlMt7jCALA10oG0Bl8jiuzhtNvZ6D+FktwYhbc5ivO97ciolUkF0+SSS ztADKYtr4ky9+y5Y/8AUPr7qo+eg30joNVoG32US7M531DwcQSsguFIfVMiTr4EvUp2G OB2CrS814VpjcAgFMz8FO4wRY2+mZ1ct78L0sRi7uEN6A/rAymdAluPWhlaMXl91qU/p D3Wg== X-Gm-Message-State: ACrzQf20guYncOS1Hk/hHzlgs15Da1urOxrq70YUbOfInCcthu5DaVA8 AsSgFRSwQISH/4bUcFBAQEU5 X-Received: by 2002:a17:90a:9f96:b0:1fa:b4fb:6297 with SMTP id o22-20020a17090a9f9600b001fab4fb6297mr186375pjp.80.1663087360938; Tue, 13 Sep 2022 09:42:40 -0700 (PDT) Received: from workstation ([117.202.184.122]) by smtp.gmail.com with ESMTPSA id y3-20020a17090a1f4300b001f262f6f717sm7538605pjy.3.2022.09.13.09.42.35 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Sep 2022 09:42:39 -0700 (PDT) Date: Tue, 13 Sep 2022 22:12:33 +0530 From: Manivannan Sadhasivam To: Rajendra Nayak Cc: Krishna chaitanya chundru , helgaas@kernel.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org, quic_vbadigan@quicinc.com, quic_hemantk@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_ramkri@quicinc.com, swboyd@chromium.org, dmitry.baryshkov@linaro.org, Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , "open list:COMMON CLK FRAMEWORK" Subject: Re: [PATCH v6 5/5] clk: qcom: Alwaya on pcie gdsc Message-ID: <20220913164233.GF25849@workstation> References: <1662713084-8106-1-git-send-email-quic_krichai@quicinc.com> <1662713084-8106-6-git-send-email-quic_krichai@quicinc.com> <20220912170437.GA36223@thinkpad> <49536ca8-ef98-9927-d1be-977ab5244c91@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49536ca8-ef98-9927-d1be-977ab5244c91@quicinc.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 13, 2022 at 12:12:32PM +0530, Rajendra Nayak wrote: > > On 9/12/2022 10:34 PM, Manivannan Sadhasivam wrote: > > + Rajendra > > > > On Fri, Sep 09, 2022 at 02:14:44PM +0530, Krishna chaitanya chundru wrote: > > > Make GDSC always on to ensure controller and its dependent clocks > > > won't go down during system suspend. > > > > > > > You need to mention the SoC name in subject, otherwise one cannot know for > > which platform this patch applies to. > > > > > Signed-off-by: Krishna chaitanya chundru > > > --- > > > drivers/clk/qcom/gcc-sc7280.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/clk/qcom/gcc-sc7280.c b/drivers/clk/qcom/gcc-sc7280.c > > > index 7ff64d4..2f781a2 100644 > > > --- a/drivers/clk/qcom/gcc-sc7280.c > > > +++ b/drivers/clk/qcom/gcc-sc7280.c > > > @@ -3109,7 +3109,7 @@ static struct gdsc gcc_pcie_1_gdsc = { > > > .name = "gcc_pcie_1_gdsc", > > > }, > > > .pwrsts = PWRSTS_OFF_ON, > > > - .flags = VOTABLE, > > > + .flags = ALWAYS_ON, > > > > Rajendra, should we also put PCIe GDSC into retention state as you have done for > > USB [1]? > > Yes, it looks like we should handle this the same way as we did with usb. Okay, thanks for the confirmation. > Why are we removing the VOTABLE flag anyway? Yeah, I don't see a reason for doing that. Chaitanya, please follow the patch from Rajendra I mentioned above and adapt it for PCIe GDSC. Thanks, Mani > > > > > Thanks, > > Mani > > > > [1] https://lore.kernel.org/all/20220901101756.28164-2-quic_rjendra@quicinc.com/ > > > > > }; > > > static struct gdsc gcc_ufs_phy_gdsc = { > > > -- > > > 2.7.4 > > > > >