Quoting Dave Martin (2013-05-22 11:22:36)
> Currently not. This partly depends on whether the target residency isThanks Dave, Liviu,
> supposed to be a hint about the rough order of magnitude of the expected
> idle period, or whether it's supposed to be a strict contract.
>
> In effect, I think it's a hint which steers the choice of powerdown
> state, rather than soemthing with a strong real-time guarantee attached
> to it. In that case shaving the firmware latency off this value before
> using it may not be worth it. If the specified target residency is
> small enough that this makes a significant difference, this suggests a
> very short period of actual powerdown, which may not outweigh its own
> overheads in terms of power-saving.
>
Sorry, you've caught me mixing terms and concepts.
I agree, target residency to me also is more an estimate of the cost vs.
benefit for a state.
The cstates also define a latency parameter that is used for limiting
selection of certain states by the governor. This is affected by QoS
constraints, which we use alot in embedded. This is the one needed for
realtime use that is tricky with host os' additional latency.
Both latency and target residency would need some adjustment for
embedded mobile if we have additional overhead as it becomes very
important to squeeze this as much as possible. For latency,
microseconds count as we cannot allow a cstate which will fail to meet
our qos constraints.
Thanks,
Sebastian