Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp575325pxm; Wed, 2 Mar 2022 23:34:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4pxqYg/coA5kF1hearRFwll0BuhX0j7CWrmfdPcpNJ/3C6gXBOhW5msVfsdzkquDlqXgN X-Received: by 2002:a17:906:2ecd:b0:6d3:d7c9:8fa4 with SMTP id s13-20020a1709062ecd00b006d3d7c98fa4mr25540840eji.144.1646292861529; Wed, 02 Mar 2022 23:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646292861; cv=none; d=google.com; s=arc-20160816; b=Gj3U4cZr4D5RS/rv9qdgyI5mfWlYpWL7jyV7jYiR+hyNGAB1bRZ6wyWhVWwLU2d/zS hnl7odGrJSj0glcUeM8PqrB/YdYsJTKDL9vc3Lyj4NmylE/nO7HldpsidwytThH0GE4M kmrYKcDxNnZCr2imr0vm73kFswP8Vky0KF8aw9BrCFzncpJQCSsMlgRugHUTq8IzF0Iw Gi54Zl/BcQkJK8EEa8kOwL8Gzvk7gwkDAo+gKft4UMXuwgkxEBLh1l7bj76H7d3WlN7Q wynta7rOWA1xq0+pcLL0v+broDs1hwEuhNBmlEu4CLmRWc+D4VBrICemrlasTVGxjIXi dbeg== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=UkyHuv5ENdMa6tYuKYbhpCxpJPttcYimOIyEHVdgPmg=; b=PXTtybYC4uDxFwDbhDJ3Jl/RNjf90LDMpDziJfM8bwWfOsrEQ72cYaJ12gwRx0rlB4 TQ+wLtDD9CPCMdoI7UieCL1EXDs8OqMgr6GK7XltzVIdpgQ/jUnjio8ozQ5HJutoS8yO Jc/RAy+lWE866zF8/P7AJdJb8drCvORUty4iZ5Sw12hsI8HTGNrv9uzY2MOprmOqZoE6 kiRNreB57rQ3kUNLHg/Cj+47JBwXtVnF50VYkplwD0a+JFp5hgety5H85DcguIlhTIAp /SDRBqTZFB7hafbRY5NMxmCdngKqytDV3l8S1kWOysgFClSTkam8R3n3z7PGuqMwynlG biXQ== 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 ht14-20020a170907608e00b006da978efc8csi80555ejc.948.2022.03.02.23.33.56; Wed, 02 Mar 2022 23:34:21 -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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230075AbiCCG6w (ORCPT + 99 others); Thu, 3 Mar 2022 01:58:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbiCCG6k (ORCPT ); Thu, 3 Mar 2022 01:58:40 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D8D013F7C; Wed, 2 Mar 2022 22:57:53 -0800 (PST) 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 671ED1424; Wed, 2 Mar 2022 22:57:53 -0800 (PST) Received: from [10.57.21.106] (unknown [10.57.21.106]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 68FBB3F66F; Wed, 2 Mar 2022 22:57:51 -0800 (PST) Message-ID: Date: Thu, 3 Mar 2022 06:57:49 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v5 0/5] Introduce "opp-microwatt" and Energy Model from DT Content-Language: en-US To: Viresh Kumar Cc: linux-kernel@vger.kernel.org, dietmar.eggemann@arm.com, rafael@kernel.org, daniel.lezcano@linaro.org, nm@ti.com, sboyd@kernel.org, mka@chromium.org, dianders@chromium.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org References: <20220302112917.27270-1-lukasz.luba@arm.com> <20220303040539.ocnslxyswnvua3o7@vireshk-i7> From: Lukasz Luba In-Reply-To: <20220303040539.ocnslxyswnvua3o7@vireshk-i7> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,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 3/3/22 04:05, Viresh Kumar wrote: > On 02-03-22, 11:29, Lukasz Luba wrote: >> Hi all, >> >> This patch set solves a few issues: >> 1. It allows to register EM from DT, when the voltage information is not >> available. (Some background of the issues present on Chromebook devices >> can be checked at [1].) >> 2. It allows to register 'advanced' EM from the DT, which is more accurate >> and reflects total power (dynamic + static). >> >> Implementation details: >> Existing machinery in the OPP framework now handles "opp-microwatt", similarly >> to "opp-microamp". It also has helper exported function to get power from OPP. >> For the EM, it adds a new callback in OPP framework to use this new API and >> read power while having an opp pointer. It's agreed to work with OPP-v2. >> >> Comments, suggestions are very welcome. >> >> changelog: >> v5: >> - added dual-macro to conditionally setup needed callback and compile >> on !EM kernel gently >> - removed 'advanced' word from OPP patch header description >> v4 [2] > > Applied. Thanks. > Thank you Viresh for your reviews. Regards, Lukasz