Skip to content
Commit 6f0847cd authored by Ionela Voinescu's avatar Ionela Voinescu
Browse files

arch_topology: obtain cpu capacity using information from CPPC



Define arch_init_invariance_cppc() to use highest performance values
from _CPC objects to obtain and set maximum capacity information for
each CPU.

The performance scale used by CPPC is a unified scale for all CPUs in
the system. Therefore, by obtaining the raw highest performance values
from the _CPC objects, and normalizing them on the [0, 1024] capacity
scale used by the task scheduler we obtain the CPU capacity of each
CPU.

Signed-off-by: Ionela Voinescu's avatarIonela Voinescu <ionela.voinescu@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
parent 6583740f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment