Re: [PATCH v3 4/6] arm64: Enable dynamic CPU capacity initialization

From: Dietmar Eggemann
Date: Mon Feb 08 2016 - 08:41:34 EST


On 08/02/16 13:13, Mark Brown wrote:
> On Mon, Feb 08, 2016 at 12:28:39PM +0000, Dietmar Eggemann wrote:
>> On 03/02/16 11:59, Juri Lelli wrote:
>
>>> +bool arch_wants_init_cpu_capacity(void)
>>> +{
>>> + return true;
>
>> Isn't this a little bit too simple? Not every ARM/ARM64 platform is a
>> heterogeneous one.
>
> Does it matter? Is there any problem with doing the callibration and
> having it say that all the CPUs performs very similarly? My
> understanding was that this was simply saying it was worth checking to
> see if there was some asymmetry.
>

No, the calibration would work on any platform. I can see your point,
you want to have this feature not depend on dt.