diff options
author | 2014-07-17 10:53:36 +0300 | |
---|---|---|
committer | 2014-07-17 18:38:36 -0700 | |
commit | d5d83f8abea13d0b50ee762276c6c900d1946264 (patch) | |
tree | 0d200d16d2270a52d892cab4e77989a0fe07c83d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mei: start disconnect request timer consistently (diff) | |
download | linux-dev-d5d83f8abea13d0b50ee762276c6c900d1946264.tar.xz linux-dev-d5d83f8abea13d0b50ee762276c6c900d1946264.zip |
mei: don't schedule suspend in pm idle
Calling pm_schedule_suspend from the runtime pm idle callback
may reschedule existing timer, thus in case of frequent runtime
rpm idle call the suspend maybe starved.
Instead we call pm_runtime_autosuspend which is checking if the
timer is already charged.
An example is monitoring device pci config space.
Pci config sysfs handlers calls pci_config_pm_runtime_put/get
helpers which in turns calls to device idle callback
Cc: stable@vger.kernel.org # 3.15+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions