Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4278073rwb; Mon, 31 Jul 2023 04:40:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlFE5YmBb21FLg6bUaIHzDBJJ0dnlAMLTil+pudxYJriw73G9PRvkwvHMBJpvh9/MMXXoRFe X-Received: by 2002:a17:90b:46d4:b0:268:2f2:cc89 with SMTP id jx20-20020a17090b46d400b0026802f2cc89mr9235551pjb.4.1690803654944; Mon, 31 Jul 2023 04:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690803654; cv=none; d=google.com; s=arc-20160816; b=StB8fLBVpnj/REX8Y10sAAzlncdBD3EKwKbWU2GNsQ16XMvN+Y3uvwblC9Oe2JASTf LM2cP/zXErXOUslzy19Loxxbu7joVIp/bW973h81kovqkwps06AAgNDCRF9FrkpViy5u /GO8MAbu1Nd3xl14HJl4zH6wh8pcYPwioex8BNbcE2sgzJOY/ysa2TRS23FePubYnLFt c8OR5LeuZ+UvdNS51fZhYy+Hp+gjLPhAlqAYbb++NQVdpPT2CD/J2auVmS2OtSzI1qa4 bds3D0/NNyLff8Uyj3SdUJmHg8J6C71K6IA5BpHn92ikzNrg/MQRC0Xkl1HLfEPQG68F zGSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :references:cc:to:from:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=LW5VB7qFVO9sNI/Xk6NRtf7lETmgtQbluRtmgiCSPs0=; fh=CxYOfVwbQGQD6MXweOgsRYFuc/gR8zJqtM/v3DBRMis=; b=iULdINAOGVpvssZ/GRSLsEjlNS5zEU6iFdSbjOr5XVsjgVdiPAr1h51lCxifKTYEHp vqXKriPjEb7zN0sA9rj4AmMSLvuDCv501NDA/zEQPU6bGIfMUn3JFMZptBOyPerhIVTu 94k6QcHUPCH+SXzkVR0W+xfmw5JiTsGL7P1l/7WGRBZlZalu62KuVMXmdbh8yCbD/D/K 2vnyPPOAvSJhn5ZTu2BD+6J8phLccaxlPsfBG9ybNoQI7+qn/aKVmc2VOH+899HzprG+ RsdcmsBcr9wApHtY3+2xMSe35qNXG3DrGEAMUgvtbj0wt3RTJeNvlYFfw1Z+uofEEs2w u1VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lXdvBOO7; 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 v10-20020a17090abb8a00b00267a487f014si8787272pjr.167.2023.07.31.04.40.42; Mon, 31 Jul 2023 04:40: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=lXdvBOO7; 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 S230371AbjGaLBx (ORCPT + 99 others); Mon, 31 Jul 2023 07:01:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjGaLBu (ORCPT ); Mon, 31 Jul 2023 07:01:50 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8340F129 for ; Mon, 31 Jul 2023 04:01:45 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fbf09a9139so6931046e87.2 for ; Mon, 31 Jul 2023 04:01:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690801304; x=1691406104; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=LW5VB7qFVO9sNI/Xk6NRtf7lETmgtQbluRtmgiCSPs0=; b=lXdvBOO7c8AfHI2MkFwa1f9eQSD1yDK7rTQVm0DA3+VKvkyGHPgdll4Qipml6e+rTF +eUMF6R4902ZS83ccNONjDMZwW6qNVlHd3hzpTtFvek/+dvgSyN23CkqaH189upmFBBm xi6/+te9H3SATz9AbuqB7g9pOmWNVwnLzVlk+q6mXq2m2fvSgd9bpZxS98awi5TeVNPl FWu4/or+i/WeOrT1y8t9UEXCLu+VFja4PTdLhKSiPCMu8Ytd5J3hDjalh+Lt+l17U/7d veJg5mx3QnAu/fRvaQbkNU0sZM2okVsxtjZpyjqXs766NyAGJ6EAmwF3cfUm1PYJUHbf VCVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690801304; x=1691406104; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LW5VB7qFVO9sNI/Xk6NRtf7lETmgtQbluRtmgiCSPs0=; b=kArkzGS7kXwmMPh0kNNHOzVJPC95Nv18BrcSRfdJbpDEDkr7YrJH+JYzvaQQeQlgyJ 3yGdb9qATS1fGsgK+35CGMO7bFFxh1JQCGGvWC/WwM4L2fU7YcKobOCWXhIDE8TJkHWu 5B4NKoe2xANgMFk4kJqvfJb4rGj0vRUv3MaDqh22kFqnHCxpB8UQqZD8sQWoot2Fmy6y H1Ukg1TWFhAZJqIu/mAt5vWmkv11KmuAh94nzZLq1t76miFI9iNIhkrh751fR24BN+JM Vb+zXH7/QruLU1XhAilUCnmhEwEzaiWANRCr4dNKtJQfsxsn1i0DVryveKHcoH+f1TiU gdKg== X-Gm-Message-State: ABy/qLZ2nQE2gfk6NpqMuii5VpIIIQO9QyxXPHTE4ZUQeiBRAHL3Pd7X yNL2Tsf7zShwwg2z48ZQsZ7UQA== X-Received: by 2002:ac2:4da5:0:b0:4fb:85ad:b6e2 with SMTP id h5-20020ac24da5000000b004fb85adb6e2mr4694600lfe.50.1690801303712; Mon, 31 Jul 2023 04:01:43 -0700 (PDT) Received: from [192.168.1.101] (abyk53.neoplus.adsl.tpnet.pl. [83.9.30.53]) by smtp.gmail.com with ESMTPSA id r12-20020ac252ac000000b004fb7ac67bbdsm2045292lfm.41.2023.07.31.04.01.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jul 2023 04:01:43 -0700 (PDT) Message-ID: <0ca1922a-5d21-2c00-7514-6f90a9d2cb03@linaro.org> Date: Mon, 31 Jul 2023 13:01:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] clk: qcom: gcc-msm8996: Use read-only RCG ops for RPM bus clocks Content-Language: en-US From: Konrad Dybcio To: Bjorn Andersson Cc: Andy Gross , Michael Turquette , Stephen Boyd , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold References: <20230612-topic-rcg2_ro-v1-0-e7d824aeb628@linaro.org> <20230612-topic-rcg2_ro-v1-2-e7d824aeb628@linaro.org> <20230613175626.aesimqz2alcqjtok@ripper> Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcW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ng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 13.06.2023 19:54, Konrad Dybcio wrote: > > > On 13.06.2023 19:56, Bjorn Andersson wrote: >> On Mon, Jun 12, 2023 at 11:22:48AM +0200, Konrad Dybcio wrote: >>> The config/periph/system NoC clocks are wholly controlled by the >>> RPM firmware and Linux should never ever alter their configuration. >>> >> >> Does Linux need to know about them? > Not really, but it allows us to get rates of their children. > > We can get rid of them if one can argue debugcc is enough. Unless > we need clk_get_rate for some reason. > Any opinions? Konrad