Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4978355iog; Wed, 22 Jun 2022 09:25:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uboivYFJSHjZfUvGQNP1/P65uGTGdRw0YOMteorwjBDla+d54wSWUY8fPI0044Iiwhgtun X-Received: by 2002:a17:902:9a06:b0:16a:5382:9536 with SMTP id v6-20020a1709029a0600b0016a53829536mr1151385plp.154.1655915135768; Wed, 22 Jun 2022 09:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655915135; cv=none; d=google.com; s=arc-20160816; b=P9t0QTYsZi9O+A/XRaXOFVwWPiwRbVL51z1qpAJq30SkHMvGZBI9EZbox1cLpzcTSt zklPZekkgYHHs6/FwEWQ1xW+n5s9wBY9en513AMmKK7gQvfe3cLOzgTj/rbIKFaowuvT uEN4iCLLz9IWk+3n+nfjhIsBcnpWCo1rnSEPCYs+03BL2FSk2Vwsmqc1TVX7CN1UIj77 xQcRrQCT12UbUjP3QifmuOzhq7QrJqLAkKzJv8Zm4zKu7vi3bq+Ow9imJk+JixWYwvCO Mdqdm6U85ThO2LZssqyVB+nU4aIxAh3dym7JreZcdjaoJHJraD02t8D1vo6S2UYjoqO4 Qhxg== 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; bh=JpFArprwk0TkPy/pGPVCCVmZogRuc16LacSSmJOSjTc=; b=Bc1V2Tvpl8+qQzw5+oGqfLmcTyp4sIlphygzjXheI4+d0j7Br7ErXIqVtljdApD1Wz cwKLtwUypcY0YF+O0KMDlpJ0VbcnajqkcIsasSJASRj9ajlLbSrI0oIK+U6qX4O57g4K U+rbd17wLIa0JVT2sLf17U8nUTCzEKPRwewC0BnGxYD5RT0xy6NuqYAcIvA3YuJ4ZLZ7 zZPFWwN1vUc+eCY12+EPY5vB5qO3fkB8VMwDHeW8FvF5p2oNLFnQ63mvO7867xgrYVJu n6UU/usGUtzFe0km4rCxZz6ss5lG4KTh8TxM6TkIkRyP8dUW+KScLaF4yf5Ny7swYKSO Urhw== 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=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bh11-20020a170902a98b00b0016646a4d661si22435510plb.377.2022.06.22.09.25.23; Wed, 22 Jun 2022 09:25:35 -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; 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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376355AbiFVP74 (ORCPT + 99 others); Wed, 22 Jun 2022 11:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359817AbiFVP7m (ORCPT ); Wed, 22 Jun 2022 11:59:42 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 22561427EF; Wed, 22 Jun 2022 08:56:19 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E385D12FC; Wed, 22 Jun 2022 08:56:18 -0700 (PDT) Received: from bogus (unknown [10.57.36.82]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F00FA3F792; Wed, 22 Jun 2022 08:56:15 -0700 (PDT) Date: Wed, 22 Jun 2022 16:55:04 +0100 From: Sudeep Holla To: Lukasz Luba Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, viresh.kumar@linaro.org, rafael@kernel.org, dietmar.eggemann@arm.com, nm@ti.com, sboyd@kernel.org, cristian.marussi@arm.com, matthias.bgg@gmail.com, Sudeep Holla , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/4] cpufreq: scmi: Support the power scale in micro-Watts in SCMI v3.1 Message-ID: <20220622155504.bcggz7spw4n2ehyj@bogus> References: <20220622145802.13032-1-lukasz.luba@arm.com> <20220622145802.13032-5-lukasz.luba@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220622145802.13032-5-lukasz.luba@arm.com> X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 Wed, Jun 22, 2022 at 03:58:02PM +0100, Lukasz Luba wrote: > The SCMI v3.1 adds support for power values in micro-Watts. They are not > always in milli-Watts anymore (ignoring the bogo-Watts). Thus, the power > must be converted conditionally before sending to Energy Model. Add the > logic which handles the needed checks and conversions. > Acked-by: Sudeep Holla -- Regards, Sudeep