[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6445e850-fe24-4eb2-86f0-217b62b9001d@arm.com>
Date: Wed, 3 Apr 2024 14:07:55 +0200
From: Dietmar Eggemann <dietmar.eggemann@....com>
To: Lukasz Luba <lukasz.luba@....com>, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org, rafael@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org, sboyd@...nel.org, nm@...com,
linux-samsung-soc@...r.kernel.org, daniel.lezcano@...aro.org,
viresh.kumar@...aro.org, krzysztof.kozlowski@...aro.org,
alim.akhtar@...sung.com, m.szyprowski@...sung.com, mhiramat@...nel.org
Subject: Re: [PATCH v4 4/4] soc: samsung: exynos-asv: Update Energy Model
after adjusting voltage
On 02/04/2024 17:58, Lukasz Luba wrote:
[...]
> @@ -97,9 +98,17 @@ static int exynos_asv_update_opps(struct exynos_asv *asv)
> last_opp_table = opp_table;
>
> ret = exynos_asv_update_cpu_opps(asv, cpu);
> - if (ret < 0)
> + if (!ret) {
> + /*
> + * When the voltage for OPPs could be changed,
> + * make sure to update the EM power values, to
> + * reflect the reality and not use stale data.
> + */
Maybe shorter?
/*
* Update EM power values since OPP
* voltage values may have changed.
*/
[...]
Powered by blists - more mailing lists