Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5132458rwb; Sun, 13 Nov 2022 22:40:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4iRxDNL5XQCOjBd2yWwqPye5XFi+MCz1TUwAyv3IwN/8B8ijgEbnS0tW9oP1+812MZBYJ6 X-Received: by 2002:aa7:dc16:0:b0:467:7026:515e with SMTP id b22-20020aa7dc16000000b004677026515emr8835643edu.26.1668408036156; Sun, 13 Nov 2022 22:40:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668408036; cv=none; d=google.com; s=arc-20160816; b=A3EOOmENWkLJfQy09jPwi5t8PdjgVc0M1t9i5iQ8KiB4fMT/pz519Lzuby04trWwp+ C70NFlca8CY/89yDpRKkCRU6Q7DVrTygLRKyUWyZwJeO6S7O1xEUTviKGgrO05Tc3ci4 2Yr291LiyEERKoIkPwfXlhkxbfMt5BpUlt/MD6RfiEsTmOZs7KGYrq9w3ySSZMZDqwPr i78tlgdlUxH2WOKEE5SW5MMV7FzztxIsbnaCnG2ytW6S55Jducz5jyAyEIbC1Q+CYuih zhfP7mCudzcdQlQssnu0h2f2f6/ifoI/gD6lO3zHNroPBkhGAuVC3XRPGv7mcTrq5dXX jVIw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=bwuYWooM7q9LfBXhi0ac/dwKRPlz+ZttT6l8YNxlwMg=; b=t5+dEwWYIOSmyBigZnhxZ9+DTFN3SQ0ALNOFFryeM5OsolGDvR6cvpOEReX4n1z/4U FWXMQEiOBdJIYFIHyORlKYCrotkr0n2rnlqIfZazZ8dlG74/D59uQFF8N4I4tPoDqH8r 3mh3AS+FGSGcFu5lhmsIz3VYUck5X7INrYIzMJN7XoXh4xkIlMUsgwmy4TfBaXQlautF bLYAF81gVvAR/P6FF9UrPBX1BoKAxQHsdEmMHH0viI2+M4a6WzH9F5HhdHnWjI2eZpLR YOcXUYCTtDjjJq8qJGEV9XF7nzRN9FCOh0OLT5+xDabGg11hzNFgrc9mQno7hhixde2n iLNg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 y73-20020a50bb4f000000b0045d4f99616dsi8507624ede.456.2022.11.13.22.40.12; Sun, 13 Nov 2022 22:40:36 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235753AbiKNGZY (ORCPT + 89 others); Mon, 14 Nov 2022 01:25:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbiKNGZW (ORCPT ); Mon, 14 Nov 2022 01:25:22 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CCF715707; Sun, 13 Nov 2022 22:25:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4D5BCB80CC3; Mon, 14 Nov 2022 06:25:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08FA6C433C1; Mon, 14 Nov 2022 06:25:14 +0000 (UTC) Date: Mon, 14 Nov 2022 11:55:10 +0530 From: Manivannan Sadhasivam To: Viresh Kumar Cc: Sudeep Holla , Manivannan Sadhasivam , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, rafael@kernel.org, robh+dt@kernel.org, johan@kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v5 3/3] cpufreq: qcom-hw: Add CPU clock provider support Message-ID: <20221114062510.GB3869@thinkpad> References: <20221108154037.111794-1-manivannan.sadhasivam@linaro.org> <20221108154037.111794-4-manivannan.sadhasivam@linaro.org> <20221108155717.srlnabls5ze2resx@bogus> <20221109074908.GC4651@thinkpad> <20221109110831.lngwmwyjqp4qj73r@bogus> <20221109123526.GA29805@thinkpad> <20221109164719.d7kowdu7wskyzjsc@bogus> <20221114031658.pnbf7uiqqgiq3uk7@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221114031658.pnbf7uiqqgiq3uk7@vireshk-i7> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Mon, Nov 14, 2022 at 08:46:58AM +0530, Viresh Kumar wrote: > On 09-11-22, 16:47, Sudeep Holla wrote: > > Is the cpufreq_get() API expected > > to return something close to what was set or is it expected to return the > > real set h/w value if and when possible. > > The real frequency the hardware is running at. > Oh... In that case, qcom-cpufreq-hw driver is not returning the real frequency but instead whatever set by the cpufreq core previously using target_index(). Should I fix it too in the next version of this series? Thanks, Mani > -- > viresh -- மணிவண்ணன் சதாசிவம்