From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2FEE7C6FD1F for ; Tue, 26 Mar 2024 08:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mFk+5Ffr9cibfTspxQA3gOaKsH09ldLMxJw8hp4g3MY=; b=ECXqDddwXro4Ad RTFR6h8kU24pKfQ4zbq3cBP+qAOVIiQ9kjiPeptpv5BpQ+s+afWV46aAVAfqdSHZsykvNnmvVbVj7 Qs/okvbp/lusgLhIevWfA0+3oorYQKTEd/Blccy1awpDmEvbF60SxN30WNq7MF15iE+KTdgBeF+VQ l4cJaPxkYi6+EUimo03mF8L5r/rKsSrOlZtCrIdpnzy3dU49HHaituKYpBDhdM2BCzxAMZBTpxaC/ //i8s5KsQ7ASfWBf1THRAN6xMfEWKXdiTpCsvIHxVu9l97Qpp/TqVK8xU0PcCxUIMu4V4qtrwB8jf GURrq9Vo4mpUvoLznA2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp2BF-00000003bjd-3gzd; Tue, 26 Mar 2024 08:29:13 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp2BB-00000003biE-46bj for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 08:29:11 +0000 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 744242F4; Tue, 26 Mar 2024 01:29:42 -0700 (PDT) Received: from [10.57.71.219] (unknown [10.57.71.219]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BEA993F7C5; Tue, 26 Mar 2024 01:29:06 -0700 (PDT) Message-ID: <20074374-ae90-49c5-9e8d-67ce290b13ae@arm.com> Date: Tue, 26 Mar 2024 08:29:06 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND][PATCH v2 1/4] OPP: OF: Export dev_opp_pm_calc_power() for usage from EM Content-Language: en-US To: Viresh Kumar Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dietmar.eggemann@arm.com, linux-arm-kernel@lists.infradead.org, sboyd@kernel.org, nm@ti.com, linux-samsung-soc@vger.kernel.org, daniel.lezcano@linaro.org, rafael@kernel.org, krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, m.szyprowski@samsung.com, mhiramat@kernel.org References: <20240322110850.77086-1-lukasz.luba@arm.com> <20240322110850.77086-2-lukasz.luba@arm.com> <20240326025147.qgfl5buiobfqfghj@vireshk-i7> From: Lukasz Luba In-Reply-To: <20240326025147.qgfl5buiobfqfghj@vireshk-i7> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_012910_114158_25A8065F X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 3/26/24 02:51, Viresh Kumar wrote: > On 22-03-24, 11:08, Lukasz Luba wrote: >> There are device drivers which can modify voltage values for OPPs. It >> could be due to the chip binning and those drivers have specific chip >> knowledge about it. This adjustment can happen after Energy Model is >> registered, thus EM can have stale data about power. >> >> Export dev_opp_pm_calc_power() which can be used by Energy Model to >> calculate new power with the new voltage for OPPs. >> >> Signed-off-by: Lukasz Luba >> --- >> drivers/opp/of.c | 17 ++++++++++++----- >> include/linux/pm_opp.h | 8 ++++++++ >> 2 files changed, 20 insertions(+), 5 deletions(-) > > Acked-by: Viresh Kumar > Thanks Viresh for the ACK! Regards, Lukasz _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel