Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2267324rdb; Mon, 5 Feb 2024 00:38:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhDvdqN0lDNwwiLEMY56r2LJwTdKMiQy9hU68sA2jUY9T3I7W6eBDROgN/lGQTEzG4BCcn X-Received: by 2002:a17:90a:b113:b0:296:1da3:c9e5 with SMTP id z19-20020a17090ab11300b002961da3c9e5mr7107539pjq.4.1707122302782; Mon, 05 Feb 2024 00:38:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707122302; cv=pass; d=google.com; s=arc-20160816; b=07KtXuTtQXWSmO7AhUQDQw3/BsDI4vaqKegp6p2Du+mTUHe5lG7z72uX+tNpta0dVB lJIiopN8C2SXHuAwtIyiyveKKhopalew3rKVch7/3HMjXZS5SpCuwR//xWa0FeRuWlZM PQAopcTOPtXJQ38xQgdwJHhRktSGsSLYL363BmVFPleTaPJS2BKtO5detgROKANatoqG tS0BvisTvBSIyXRC4jeyey54ZS1iW0gt6NzdF0TYEnJWHrOm2lSF55dsCyDjoNIAPVD9 9XxLAyngcFmtfejEKmj9lpHULF5tcvS4ewYUsVsdC7Ng1RVhFSlDwYplbrXRDKo+KuVR 1NKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=b16WAGnJxZxdnv2GKc/YTa+d97I0ElUqgHMCcWXI61o=; fh=9zr37WSRMo21SUP4jYxVpwsvpAethmnXLNNVG9TCQ0s=; b=kdM0wgSF8BeiPIxFiZeYheroHXFbS7iddKgU+eVyTqGwWbQ7haRk52Srfn+RFxS1dW CrENKtB43WN8P0wukmD8eNjmNFoZEahw/VHc7IZ74SqbdVV9p3wi4SBQURsfVA/O9G5S PWEMA3xvtVCuqs79nhXw/+qFJ9HFGy83J1bJNjo3AdTxJKNvSmitFvVL72qx5+/sWWuv wvKvON/33MkkElWWw1VGei9Oz8GJVv48EDyJLlBQ/IMcutOq6tjntPUOFjI50I/b8TFW qfJiSEkJnNPMJstXlDMslRzEG6tsoX9S7J9OAFCIXIUaFlQ9NOjd701lRlE06CfiR13I OXRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hDOMFOJP; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52214-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52214-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCUDvImY8o1FqV+ksRDC0oPoXnMCsalbA0pTfF57pkzzbgflsO088XsqraddEf9xQUwo/dLgRDGY2ukL+5q05DA5snLRF2/KgyK0Yr2/kA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v12-20020a17090a898c00b002963d0fe254si4066078pjn.177.2024.02.05.00.38.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 00:38:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52214-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hDOMFOJP; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-52214-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52214-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E81D0B23A7F for ; Mon, 5 Feb 2024 08:38:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2911E11709; Mon, 5 Feb 2024 08:38:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="hDOMFOJP" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD883125A5; Mon, 5 Feb 2024 08:38:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707122288; cv=none; b=t4MTqcOpA3QN0S/VRevgIDx9p2srIFJtKGuWdld6ib8/uwNfYS7/QRSIwwtOYwEppZ3PVoEZA0v1M4H57IcxXgEUkg+FZ0Jj1L9wi+uw87yaBSD41koe+xSpuYR7c+GJSZWqVFYGkUMb2gnz7f38+Ztu2gGdvTsYy33euCXDO1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707122288; c=relaxed/simple; bh=fypnbFmw93LuJzWosCZ5x03J+bJIeVaGp/VErY4fC3I=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=CwlohxQP+2QheZeehIKrLBHHPHKoZLFA7o/6ck20oAkVlAhNE2cQ9GZMRva8wuOCXPhri76Q5KtrBfVdDATGKoTyJlk5f+kOKdwLx+8jGywRCEcmtVia3tKty/8YXxOqW8FAJ0A/y9KbdY0vDC2022qEZW0MmgKLiBIwY+2W9hE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=hDOMFOJP; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4157AOdl010626; Mon, 5 Feb 2024 08:37:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=b16WAGnJxZxdnv2GKc/YTa+d97I0ElUqgHMCcWXI61o=; b=hD OMFOJPxZX4kislMp9uw+wEycPMoxrFGTkptbMIePf4T672fpX0Twuxz+pTLFUt44 EYVfxShgL0/14czOgs9yu4Ry+NLKQb9OrIgeEyfntu1JlcEF6XtP0EZ2Tn45ks+o /izb24Bwwt/tY+6rnEBff3312wFLD3CfmLO2c0yfjZOIXa4wcLfm4myGuY9/F4HQ 2Bx8CvPfS6fU7l7XVXwGWC2bjAlflkcy9zQfPyQ0gdSe8qB6yEa8MTOC62hcw1iO XMitQhuQJhXAAxvz3iggnqBMMtFUawhlj+Z58SnE0jSpIzfCwg/u5gvN8lBpeKD5 YPEKhtZdXcF/v009pLzQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w2t9wr7hu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 05 Feb 2024 08:37:56 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4158btC3019565 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2024 08:37:55 GMT Received: from [10.218.19.46] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 5 Feb 2024 00:37:50 -0800 Message-ID: <04788b2c-a212-b8a2-1124-d904f2f61f5d@quicinc.com> Date: Mon, 5 Feb 2024 14:07:48 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH 2/3] clk: qcom: gcc-sm8150: Add gcc_parents_0_ao support Content-Language: en-US To: Konrad Dybcio , Bjorn Andersson , Michael Turquette , "Stephen Boyd" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Taniya Das CC: , , , , Ajit Pandey , Imran Shaik , "Jagadeesh Kona" References: <20240123-gcc-ao-support-v1-0-6c18d5310874@quicinc.com> <20240123-gcc-ao-support-v1-2-6c18d5310874@quicinc.com> <77903574-696b-90f9-f136-be5c5d219ba1@quicinc.com> <5ae84692-b05d-4a43-aabb-4d2e7d9926d5@linaro.org> From: "Satya Priya Kakitapalli (Temp)" In-Reply-To: <5ae84692-b05d-4a43-aabb-4d2e7d9926d5@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: NHlNLkE6ya0dZpA2MSe2gcTJ_o-KsjGc X-Proofpoint-ORIG-GUID: NHlNLkE6ya0dZpA2MSe2gcTJ_o-KsjGc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_04,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 spamscore=0 mlxscore=0 clxscore=1011 lowpriorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 impostorscore=0 mlxlogscore=881 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402050065 On 1/25/2024 3:25 PM, Konrad Dybcio wrote: > > > On 1/25/24 06:49, Satya Priya Kakitapalli (Temp) wrote: >> >> On 1/23/2024 11:17 PM, Konrad Dybcio wrote: >>> >>> >>> On 1/23/24 17:34, Satya Priya Kakitapalli wrote: >>>> Add active_only support for gcc_parents_0, this is needed because >>>> some of the clocks under it are critical which would vote on xo >>>> blocking the suspend. >>>> >>>> Signed-off-by: Satya Priya Kakitapalli >>>> --- >>> >>> Is there a need to keep gcc_cpuss_ahb_clk_src around? Do we do any >>> ratesetting on it? Should we ever turn it off? >>> >> >> The branch clocks under gcc_cpuss_ahb_clk_src are critical clocks, >> which are running at 19.2Mhz causing vote on XO during suspend. As of >> now no rate setting is happening but this rcg is useful to get the >> exact rates from debugfs. Hence this change is needed to avoid XO >> shutdown issues. > > So, if I underderstood you correctly, this clock serves no purpose other > than getting rate? > > In this case, I'd say we should de-register it from the clock driver and > use debugcc [1] (contributions welcome!) for precise measurements. > Although currently there is no rate-setting happening now, its better to keep the rcg modelling as is, considering that it might be needed if some use case arises in future.