Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4979247iog; Wed, 22 Jun 2022 09:26:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHMRQeIyNx58iOpYAnNjPQ6XG2fOprTHqu/S7TYwkgwIp+yGAWbD4+nWIQlDQuCyPW+gV5 X-Received: by 2002:a17:902:a70d:b0:15e:da68:b1b1 with SMTP id w13-20020a170902a70d00b0015eda68b1b1mr34716657plq.53.1655915206375; Wed, 22 Jun 2022 09:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655915206; cv=none; d=google.com; s=arc-20160816; b=zxXwpI8fmJjc6SkRoaGznMdvbUTtVOtVHixyd6+EhJKBO37TtW0ZXtwMVpKqM2d4Kn cE+EyMPo5Yf4xPdDPKTeo7aY2C6dy7S5sfBntNZ+ID4KlPgg9/Hx325t7C7M3IMB5yRD OacGwQi4iBMuVwtA3Yo3rhJFBVtenDyqMwAngQ15+1IMaNf3V0BgINFAFH+NDkL/tWJl Dsh4aUVziLMHN0OfB+dh2D/q3kLzeLgeyftWtCIIOycQN4VJWsNLIFrDOX2ebuuw7I6h 8ftnw/p6lOfy65tj7FpNxmQUwKdOAeJvU37befb5z8hpBwpmJFPEeQeOEICW/dT889vi y3FQ== 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=OEvyHC/V3o+KcdfeT4iOEKnwu5y44NftQ4d5zwCT9TE=; b=m8UKxs35Xd/Pm8oyp/1CUAT8Ck8rMB+lPrjS3NUTgQULWu/+nx0KzVzoZerSqzEeuN 0tNwEckuDMCUneWAxL9wjvDsBr/m47xhe+nwY+D4BqCYLkGnI4Vr4ZuXtbQ1WvFsiPLz Hp9RpW0EmM3M2quobA5r666gKmGgAXNxlPPXJwczutTMl2CqK4hzT16rX8zJV/JXnmCA 4G81ZiWHejbv9Vcv0WGhctGFtCXSmgjAszRKbcAUBCsSViZjXWhqnziFcRgqbVtK0pDr H4RfCq5s/akDUdVjF3hRDyHrybHnlrREZ2XsCMESinvU5VrP7wS+teMigvPT/xUrwDaJ L+zA== 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.26.33; Wed, 22 Jun 2022 09:26:46 -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 S1376298AbiFVP5i (ORCPT + 99 others); Wed, 22 Jun 2022 11:57:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359858AbiFVP4I (ORCPT ); Wed, 22 Jun 2022 11:56:08 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A9EC73F899; Wed, 22 Jun 2022 08:54:37 -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 2888712FC; Wed, 22 Jun 2022 08:54:37 -0700 (PDT) Received: from bogus (unknown [10.57.36.82]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F15B53F792; Wed, 22 Jun 2022 08:54:33 -0700 (PDT) Date: Wed, 22 Jun 2022 16:53:22 +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 3/4] firmware: arm_scmi: Get detailed power scale from perf Message-ID: <20220622155322.g2idz2623nxi6mu3@bogus> References: <20220622145802.13032-1-lukasz.luba@arm.com> <20220622145802.13032-4-lukasz.luba@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220622145802.13032-4-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:01PM +0100, Lukasz Luba wrote: > In SCMI v3.1 the power scale can be in micro-Watts. The upper layers, e.g. > cpufreq and EM should handle received power values properly (upscale when > needed). Thus, provide an interface which allows to check what is the > scale for power values. The old interface allowed to distinguish between > bogo-Watts and milli-Watts only (which was good for older SCMI spec). > Assuming you will take this as a series, Acked-by: Sudeep Holla -- Regards, Sudeep