mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lukasz Luba <lukasz.luba@arm.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Xuewen Yan <xuewen.yan@unisoc.com>,
	Xuewen Yan <xuewen.yan94@gmail.com>,
	linux-pm@vger.kernel.org, len.brown@intel.com,
	linux-kernel@vger.kernel.org, ke.wang@unisoc.com,
	jeson.gao@unisoc.com, di.shen@unisoc.com, pavel@ucw.cz
Subject: Re: [PATCH] power: energy_model: Rework the depends on for CONFIG_ENERGY_MODEL
Date: Wed, 5 Mar 2025 15:14:30 +0000	[thread overview]
Message-ID: <4743eefe-b75d-4cca-b13a-8f4aafa34b49@arm.com> (raw)
In-Reply-To: <CAJZ5v0j3+TFB22FKcGMdy6bfvczAcp+egWv5WjY9dWmHKh8fpA@mail.gmail.com>



On 3/5/25 14:57, Rafael J. Wysocki wrote:
> Hi,
> 
> On Wed, Mar 5, 2025 at 10:51 AM Lukasz Luba <lukasz.luba@arm.com> wrote:
>>
>> Hi Rafael,
>>
>> On 2/13/25 02:18, Xuewen Yan wrote:
>>> Hi Rafael,
>>>
>>> I noticed that this patch has not been merged yet. Do you have any comments?
>>>
>>> BR
>>>
>>> On Thu, Dec 19, 2024 at 5:17 PM Lukasz Luba <lukasz.luba@arm.com> wrote:
>>>>
>>>>
>>>>
>>>> On 12/19/24 09:11, Xuewen Yan wrote:
>>>>> From: Jeson Gao <jeson.gao@unisoc.com>
>>>>>
>>>>> Now not only CPUs can use energy efficiency models, but GPUs
>>>>> can also use. On the other hand, even with only one CPU, we can also
>>>>> use energy_model to align control in thermal.
>>>>> So remove the dependence of SMP, and add the DEVFREQ.
>>>>
>>>> That's true, there are 1-CPU platforms supported. Also, GPU can have
>>>> the EM alone.
>>>>
>>>>>
>>>>> Signed-off-by: Jeson Gao <jeson.gao@unisoc.com>
>>>>> ---
>>>>>     kernel/power/Kconfig | 3 +--
>>>>>     1 file changed, 1 insertion(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
>>>>> index afce8130d8b9..c532aee09e12 100644
>>>>> --- a/kernel/power/Kconfig
>>>>> +++ b/kernel/power/Kconfig
>>>>> @@ -361,8 +361,7 @@ config CPU_PM
>>>>>
>>>>>     config ENERGY_MODEL
>>>>>         bool "Energy Model for devices with DVFS (CPUs, GPUs, etc)"
>>>>> -     depends on SMP
>>>>> -     depends on CPU_FREQ
>>>>> +     depends on CPU_FREQ || PM_DEVFREQ
>>>>>         help
>>>>>           Several subsystems (thermal and/or the task scheduler for example)
>>>>>           can leverage information about the energy consumed by devices to
>>>>
>>>> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
>>
>> Gentle ping. You probably have missed that change for the v6.15 queue
> 
> Indeed, I have missed this one.
> 
> Now applied as 6.15 material, thanks!

Thanks Rafael!

  reply	other threads:[~2025-03-05 15:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-19  9:11 Xuewen Yan
2024-12-19  9:18 ` Lukasz Luba
2025-02-13  2:18   ` Xuewen Yan
2025-03-05  9:50     ` Lukasz Luba
2025-03-05 14:57       ` Rafael J. Wysocki
2025-03-05 15:14         ` Lukasz Luba [this message]
2025-03-06 19:38         ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4743eefe-b75d-4cca-b13a-8f4aafa34b49@arm.com \
    --to=lukasz.luba@arm.com \
    --cc=di.shen@unisoc.com \
    --cc=jeson.gao@unisoc.com \
    --cc=ke.wang@unisoc.com \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rafael@kernel.org \
    --cc=xuewen.yan94@gmail.com \
    --cc=xuewen.yan@unisoc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®