summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-09-21 16:38:52 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-09-24 02:54:29 +0300
commitadb560b3ee395ac9688a93582d805edec4c3d3e7 (patch)
tree9778d13b766d48997fb080c2ab37d597a3816b09 /Kconfig
parent294f47ffd55c3710c6f8ca1122e0424f045a099c (diff)
downloadlinux-adb560b3ee395ac9688a93582d805edec4c3d3e7.tar.xz
PM / Domains: Don't measure latency of ->power_on|off() during system PM
Measure latency does by itself contribute to an increased latency, thus we should avoid it when it isn't needed. Currently genpd measures latencies in the system PM phase for the ->power_on|off() callbacks, except in the syscore case when it's not allowed to use ktime_get() as timekeeping may be suspended. Since there should be plenty of occasions during runtime PM to perform these measurements, let's rely on that and drop them from system PM. This will also make it consistent for how measurements are done of the runtime PM callbacks (as those may be invoked during system PM). Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions