summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2022-12-13 18:54:48 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-01-13 22:53:44 +0300
commit450316dc4f41e857c928dfbcc495c3810d4b1928 (patch)
tree8c5c920e2389a0920c6dc1f0ac2f068e8cb34e17 /tools/perf/scripts/python/exported-sql-viewer.py
parentb7bfaa761d760e72a969d116517eaa12e404c262 (diff)
downloadlinux-450316dc4f41e857c928dfbcc495c3810d4b1928.tar.xz
PM: runtime: Document that force_suspend() is incompatible with SMART_SUSPEND
pm_runtime_force_suspend() cannot be used with DPM_FLAG_SMART_SUSPEND, so note this in the kerneldoc. If DPM_FLAG_SMART_SUSPEND is set and the PM core cannot skip system resume it will call pm_runtime_active() on the driver. This can lead to an inconsistent state where: pm_runtime_force_suspend() called ->runtime_suspend but device_resume_noirq() called pm_runtime_set_active() This leaves the driver actually suspended but marked as active. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions