]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Domains: Don't measure ->start|stop() latency in system PM callbacks
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 15 Oct 2015 15:02:06 +0000 (17:02 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Oct 2015 03:33:04 +0000 (04:33 +0100)
commit0b52516d5b335c7e87dc79e1f039ac8de4ee8534
tree911179ce9dd03df7dd86b24c5bd1aa9d70c80889
parent532c77fe3711889a8d39505e40d58daac1e592ef
PM / Domains: Don't measure ->start|stop() latency in system PM callbacks

Measure latency does by itself contribute to an increased latency, thus we
should avoid it when it isn't needed.

Genpd measures latencies in the system PM phase for the ->start|stop()
callbacks and is thus affecting the system PM suspend/resume time.
Moreover these latencies are validated only at runtime PM suspend/resume.

To this reasoning, let's decide to leave these measurements out of the
system PM phase. There should be plenty of occasions during runtime PM to
perform these measurements anyway.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Lina Iyer <lina.iyer@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c