Re: [PATCH v2 for 6.19 0/4] Revise the EM YNL spec to be clearer

From: Donald Hunter

Date: Thu Jan 08 2026 - 05:45:08 EST


Changwoo Min <changwoo@xxxxxxxxxx> writes:

> This patch set addresses all the concerns raised at [1] to make the EM YNL spec
> clearer. It includes the following changes:
>
> - Fix the lint errors (1/4).
> - Rename em.yaml to dev-energymodel.yaml (2/4). “dev-energymodel” was used
> instead of “device-energy-model”, which was originally proposed [2], because
> the netlink protocol name cannot exceed GENL_NAMSIZ(16). In addition, docs
> strings and flags attributes were added.
> - Change cpus' type from string to u64 array of CPU ids (3/4).
> - Add dump to get-perf-domains in the EM YNL spec (4/4). A user can fetch
> either information about a specific performance domain with do or information
> about all performance domains with dump.
>
> ChangeLog v1 -> v2:
> - Remove perf-domains in the YNL spec, as do and dump of get-perf-domains
> share the reply format using perf-domain-attrs (4/4).
> - Add example outputs of get-perf-domains and get-perf-table for ease of
> understanding (cover letter).

v2 looks good, thanks!

Reviewed-by: Donald Hunter <donald.hunter@xxxxxxxxx>