summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2026-08-31 18:23:22 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-11 16:39:38 +0200
commitbe5755f023e7e02ec90bbd1d4ca63a0abe594733 (patch)
treef946833addb97f3804a6fdab88186bd8db7350ee /include/linux
parentdf2908090cda368b01ff43709f51890076c56157 (diff)
downloadlinux-next-be5755f023e7e02ec90bbd1d4ca63a0abe594733.tar.gz
linux-next-be5755f023e7e02ec90bbd1d4ca63a0abe594733.zip
PM: runtime: Only queue an idle check for RPM-linked suppliers
When a device RPM-suspends, it queues up an idle check for all of its suppliers, in case that device was the last consumer, and those suppliers are now able to suspend. Today, we do this for all suppliers, and not only for those suppliers that are marked for use by runtime PM. This isn't directly harmful, but it is a bit wasteful, and also may induce unexpected suspend attempts (e.g., if a device was purposely last touched with pm_runtime_put_noidle()). To avoid excess idle checks, only call pm_request_idle() on linked suppliers that opted into runtime PM. Noticed by inspection of trace logs. This is not expected to have a functional impact on systems that are using device links properly, and should only be considered an optimization. Fixes: 5244f5e2d801 ("PM: runtime: Defer suspending suppliers") Signed-off-by: Brian Norris <briannorris@chromium.org> Link: https://patch.msgid.link/20260901013341.1417232-1-briannorris@chromium.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions