On Mon, May 21, 2018 at 03:24:59PM +0100, Quentin Perret wrote:
> This exposes the Energy Model (read-only) of all frequency domains in
> sysfs for convenience. To do so, a parent kobject is added to the CPU
> subsystem under the umbrella of which a kobject for each frequency
> domain is attached.
>
> The resulting hierarchy is as follows for a platform with two frequency
> domains for example:
>
> /sys/devices/system/cpu/energy_model
> ├── fd0
> │ ├── capacity
> │ ├── cpus
> │ ├── frequency
> │ └── power
> └── fd4
> ├── capacity
> ├── cpus
> ├── frequency
> └── power
>
Given that each FD can have multiple {freq,power} tuples and sysfs has a
one value per file policy, how does this work?