Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings
From: Sai Gurrappadi
Date: Fri Mar 18 2016 - 13:49:59 EST
Hi Juri,
On 03/18/2016 07:24 AM, Juri Lelli wrote:
<snip>
> +
> +==========================================
> +2 - CPU capacity definition
> +==========================================
> +
> +CPU capacity is a number that provides the scheduler information about CPUs
> +heterogeneity. Such heterogeneity can come from micro-architectural differences
> +(e.g., ARM big.LITTLE systems) or maximum frequency at which CPUs can run
> +(e.g., SMP systems with multiple frequency domains). Heterogeneity in this
> +context is about differing performance characteristics; this binding tries to
> +capture a first-order approximation of the relative performance of CPUs.
Any reason why this capacity number is not dynamically generated based on the
max frequency for each CPU? The DT property would then instead specify just
the micro-architectural differences between the CPU types.
-Sai