FROMLIST: PM: EM: Add min/max available performance state limits
On some devices there are HW dependencies for shared frequency and voltage between devices: CPUs and L3 cache. When the L3 cache frequency is increased, the affected CPUs might run at higher voltage and frequency. That higher voltage causes higher CPU power and thus more energy is used for running the tasks. Add performance state limits which are applied for the device. This allows the Energy Model (EM) to better reflect the CPU's currently available performance states. This information is used by Energy Aware Scheduler (EAS) during task placement to avoid situation when a simulated energy cost has error due to using wrong Power Domain (PD) frequency. The function performs only bare minimum checks (and requires EM as an argument) to reduce the overhead. Bug: 346263893 Link: https://lore.kernel.org/lkml/20240403162315.1458337-2-lukasz.luba@arm.com/ Signed-off-by:Lukasz Luba <lukasz.luba@arm.com> Change-Id: I2dcf541590d6473b6fc0f574a73f07f3c31d7900
Loading
Please sign in to comment