[PATCH RFC 1/4] arm64: kernel: implement DT based idle states infrastructure
Rob Herring
robherring2 at gmail.com
Mon Mar 24 13:46:47 EDT 2014
On Thu, Mar 20, 2014 at 1:19 PM, Sebastian Capella
<sebastian.capella at linaro.org> wrote:
> On 19 March 2014 10:23, Lorenzo Pieralisi <lorenzo.pieralisi at arm.com> wrote:
>> Rob is asking a property describing hw, and honestly unless we define
>> a power consumption property value (defining what it means will be rather
>> complicated though) I'd rather remove index altogether and use min_residency
>> as a comparison value instead.
>
> I like having a separate ranking for power to sort the states. To me
> it seems that min residency could be ambiguous for this. We could
> have states with inverted min_residencies: where a lower consumption
> state has a lower target residency because the cost is recovered more
> quickly. Such a state might have higher latency for exit, so even
> though the lower min_residency/lower power state is clearly
> preferable, selection of the lower power state may be prevented by
> kernel latency constraints.
Perhaps you can add the min residency and exit latency times.
Another piece to consider is the affinity level of the state should
probably be the basis for 1st order sorting.
Rob
More information about the linux-arm-kernel
mailing list