Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3853217rwe; Mon, 29 Aug 2022 22:58:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR5RyV+L1sSbm/Ncg0LJdr2GEr7WS6h2NNlsB4OREWlYH+610WqTaqga5Vlb+5o4qa2VZ0C7 X-Received: by 2002:a17:90b:4f89:b0:1fe:f08:6087 with SMTP id qe9-20020a17090b4f8900b001fe0f086087mr902639pjb.140.1661839110843; Mon, 29 Aug 2022 22:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661839110; cv=none; d=google.com; s=arc-20160816; b=jR0KDkvH0kVUiETMnmlA4lq4RiCljPpohLJeGXAsgFXOX0c9m2M2JxvMEUBiuqLLWV hbhr3MhVjV3O6liZmhpdXo80ijSmn1SBaemuaaX2RAcxch7YRVcFXeZgnYiE3rzOC73R jJzovynBDEZ4eMKChryHW8a6/TyT9IpeNB7UKrNUvpqHQP+DlPE3DG2a9hp3MsWkyz8P TzY5JHhSwmG40ytL6WgTR8UEnu8TuYEegosQumPASmT2Ot4iYGmORXUvEGY6AEm07Bzc a2vYC7fdef4AaRC9/WQOOaXOCC1CFj4b7c6lAobNUDeOlSEeNkq+Mgn8UrX3hHG+WN1/ Fkdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/AXxGSKHD9gHotHgPkcKQJDg7QFNUaxs4G1mHC7A7EM=; b=rFEEWg0w3CMDUlRjOJEnH6NwGRJXXmT1GGQGdHmi5Zp3zexgdx6G52q7BOsnBExMc6 0SLvp+5++ehC/Vb1YIAjQiv8MdydnJC8L043//ryk303xeG9WqDRXAWF47hbBCLAdFWF cJxiZ+9H1zTI/i73K44qErJvMpVvsMhApJpJmq8ZD87UNmw7CpUCw+HRL8CG56PePeUV awxeMUMh7SdDJBzlP4BrlVZfoNSd21fmahN5c0dmV6hIAkpuZHPFu9H8yNTAYeoLP7d/ 9fWukEBnL1KGdVm9LQ83xxTKju52adXciOuIQgGnCDJ3rhNc9ce6f46pQw3kohpAbw1n qBQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="GZdC/rr4"; 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 c11-20020a170902d48b00b001729205c8b3si11747774plg.587.2022.08.29.22.58.19; Mon, 29 Aug 2022 22:58:30 -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="GZdC/rr4"; 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 S229752AbiH3Fkt (ORCPT + 99 others); Tue, 30 Aug 2022 01:40:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbiH3Fkr (ORCPT ); Tue, 30 Aug 2022 01:40:47 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6064684EE0 for ; Mon, 29 Aug 2022 22:40:45 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id f24so7327154plr.1 for ; Mon, 29 Aug 2022 22:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=/AXxGSKHD9gHotHgPkcKQJDg7QFNUaxs4G1mHC7A7EM=; b=GZdC/rr42yOk2UFksu/R3G3rPbI2L9UJtIKaPIria2iMwQfoKStV/mLDhnoeMiWHwT 7u4Y7HYJD6VAZ7PmsZW1KcHuHnNAOtRAHAUA6mpvhVj2vskhNKnc6law/JlK2fu3+pVh 6jRCrLuXzaGl7Gi8XzAeWCwDHtOEqwzI24b6Q7tiUqR9iVshq/DN9yD5dDLLaN7CUk+s 12EjTAip3/Js0sVZ4iRH7jTIuo5GrPzOpZygmQPcTvqPnbB1R1GPTTRfm1qiToyL8Gy/ pPBfE1kQK6420hWrFUeTgvDk3zhmmjeWmWzF8Tb9TTOpKwTIjFQJ3O79Lgo5ZgIf9uQL hXFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=/AXxGSKHD9gHotHgPkcKQJDg7QFNUaxs4G1mHC7A7EM=; b=cUw9fu9cIZbbu6SaYjjRMJ59HgEqea6pYR6vumfGYr2QI14il28xZ6lmDVMsMYMD7+ AnDFoWYUZrQXLeNgcwrvtUeDa+ggsk1BTwNqI+MVrtgQMjc7tW+xDnwmFF6XGeDpl9E4 0zDSNWzL7p8dj1WUnbMQeXffdwYNhOqxV1R9a9rGQzVAUJXA/us6SI1GoLzccdZkeoZv S+9VqnV28KvJS7mG5LgPhbxLibqn479FesYhgd2X+cEpAfhlZHBSkm1Y411FraidcPuK W0lSpVcy549OoRPTnnJ6pj9izOTIh/YjVLX+oSPbBatnAYPNx1RC4cPzvdTdulO3uPhZ U5ow== X-Gm-Message-State: ACgBeo26FX4Mnw086S9LpqlKIr8qL/Z8ttQ3I94IcmwY9oYCa8qUli9+ OKlsGKXqnhA/b/8kqAVdjxchPw== X-Received: by 2002:a17:902:d4c9:b0:172:f480:bdd with SMTP id o9-20020a170902d4c900b00172f4800bddmr19669902plg.170.1661838044911; Mon, 29 Aug 2022 22:40:44 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id l5-20020a170903120500b00174c1855cd9sm3787283plh.267.2022.08.29.22.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 22:40:44 -0700 (PDT) Date: Tue, 30 Aug 2022 11:10:42 +0530 From: Viresh Kumar To: Bjorn Andersson Cc: Manivannan Sadhasivam , Bjorn Andersson , Andy Gross , Krzysztof Kozlowski , "Rafael J. Wysocki" , Rob Herring , Vincent Guittot , Johan Hovold , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [RFC PATCH 0/4] cpufreq: qcom-hw: Move clocks to CPU node Message-ID: <20220830054042.akj7pf366inelvpo@vireshk-i7> References: <20220715160933.GD12197@workstation> <20220718015742.uwskqo55qd67jx2w@vireshk-i7> <20220801023756.76jswkbwivuntqof@vireshk-i7> <20220830032456.z4olnogsyg32vhiz@builder.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830032456.z4olnogsyg32vhiz@builder.lan> 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=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 29-08-22, 22:24, Bjorn Andersson wrote: > Conceptually, it sounds like a good idea to express the clock feeding > the CPU clusters, which is controlled by the OSM/EPSS. But do you > expect the OPP framework to actually do something with the clock, or > just to ensure that the relationship is properly described? No, the OPP core will never try to set the clock rate in your case, though it will do clk_get(). > FWIW, the possible discrepancy between the requested frequency and the > actual frequency comes from the fact that OSM/EPSS throttles the cluster > frequency based on a number of different factors (thermal, voltages > ...). > This is reported back to the kernel using the thermal pressure > interface. It would be quite interesting to see some investigation in > how efficient the kernel is at making use of this feedback. -- viresh