Skip to content
Commit 34ced2a7 authored by Ionela Voinescu's avatar Ionela Voinescu Committed by Deepak Kumar Mishra
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 3811a58c
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