mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Changwoo Min <changwoo@igalia.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Donald Hunter <donald.hunter@gmail.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	linux-pm@vger.kernel.org, sched-ext@lists.linux.dev,
	Jakub Kicinski <kuba@kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Concerns with em.yaml YNL spec
Date: Tue, 16 Dec 2025 11:06:49 +0900	[thread overview]
Message-ID: <0d523461-c9b9-402a-b317-badcbd48dae0@igalia.com> (raw)
In-Reply-To: <CAJZ5v0gpYQwC=1piaX-PNoyeoYJ7uw=DtAGdTVEXAsi4bnSdbA@mail.gmail.com>


On 12/16/25 00:06, Rafael J. Wysocki wrote:
> On Mon, Dec 15, 2025 at 4:01 PM Changwoo Min <changwoo@igalia.com> wrote:
>>
>> Let me provide the context of what has been discussed. Essentially, the
>> question is what the proper name of the netlink protocol is and its file
>> name for the energy model.
>>
>> Donald raised concerns that “em” is too cryptic, so it should be
>> “energy-model”. The following is Donald’s comment:
>>
>>
>>     “- I think the spec could have been called energy-model.yaml and the
>>      family called "energy-model" instead of "em".”
>>
>>
>> Andrew’s opinion is that it would be appropriate to limit the scope of
>> “energy-model” by adding a prefix, for example, “performance-domain-
>> energy-model”. Andrew’s comment is as follows:
>>
>>     “And a dumb question. What is an energy model? A PSE needs some level
>>     of energy model, it needs to know how much energy each PD can consume
>>     in order that it is not oversubscribed. Is the energy model generic
>>     enough that it could be used for this? Or should this energy model get
>>     a prefix to limit its scope to a performance domain? The suggested
>>     name of this file would then become something like
>>     performance-domain-energy-model.yml?”
>>
>> For me, “performance-domain-energy-model” sounds weird because the
>> performance domain is conceptually under the energy model. If adding a
>> prefix to limit the scope, it should be something like “system-energy-
>> model”, and the “system” prefix looks redundant to me.
>>
>> So, the question is what the proper name is for the energy model
>> protocol: “em”, “energy-model”, “performance-domain-energy-model”, or
>> something else?
> 
> I personally would be for something like "device-energy-model", where
> "device" may mean any kind of device including CPU devices.
> 

"device-energy-model" sounds good to me. I will prepare the patchset
using that name. Thanks a lot!

Regards,
Changwoo Min


  reply	other threads:[~2025-12-16  2:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-11 15:54 Donald Hunter
2025-12-11 17:01 ` Andrew Lunn
2025-12-14 11:35   ` Changwoo Min
2025-12-14 16:21     ` Andrew Lunn
2025-12-15  1:57       ` Changwoo Min
2025-12-15 10:30         ` Rafael J. Wysocki
2025-12-15 15:01           ` Changwoo Min
2025-12-15 15:06             ` Rafael J. Wysocki
2025-12-16  2:06               ` Changwoo Min [this message]
2025-12-11 17:04 ` Andrew Lunn
2025-12-11 17:09   ` Donald Hunter
2025-12-11 17:47     ` Andrew Lunn
2025-12-14 11:14 ` Changwoo Min
2025-12-14 11:38   ` Changwoo Min
2025-12-15 10:51   ` Donald Hunter

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=0d523461-c9b9-402a-b317-badcbd48dae0@igalia.com \
    --to=changwoo@igalia.com \
    --cc=andrew@lunn.ch \
    --cc=donald.hunter@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lukasz.luba@arm.com \
    --cc=netdev@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=sched-ext@lists.linux.dev \
    /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®