]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branches 'pm-core' and 'pm-runtime'
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Oct 2025 10:20:36 +0000 (12:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 7 Oct 2025 10:20:36 +0000 (12:20 +0200)
commit05f084d24e098d93c7b0803e32b9be9fff6ef490
tree80d87c096b42a3afd7f9dac6684667de24e277b5
parent991053178e08fb4d1f80398367db05c2cc4f20b4
parent632d31067be2f414c57955efcf29c79290cc749b
parent92158fae2ed986f44347fc5b9a269830862c1529
Merge branches 'pm-core' and 'pm-runtime'

Merge runtime PM framework updates and a core power management code fix
for 6.18-rc1:

 - Make pm_runtime_put*() family of functions return 1 when the
   given device is already suspended which is consistent with the
   documentation (Brian Norris)

 - Add basic kunit tests for runtime PM API contracts and update return
   values in kerneldoc coments for the runtime PM API (Brian Norris,
   Dan Carpenter)

 - Add auto-cleanup macros for runtime PM "resume and get" and "get
   without resume" operations, use one of them in the PCI core and
   drop the existing "free" macro introduced for similar purpose, but
   somewhat cumbersome to use (Rafael Wysocki)

 - Make the core power management code avoid waiting on device links
   marked as SYNC_STATE_ONLY which is consistent with the handling of
   those device links elsewhere (Pin-yen Lin)

* pm-core:
  PM: sleep: Do not wait on SYNC_STATE_ONLY device links

* pm-runtime:
  PM: runtime: Fix error checking for kunit_device_register()
  PM: runtime: Introduce one more usage counter guard
  PM: runtime: Drop DEFINE_FREE() for pm_runtime_put()
  PCI/sysfs: Use runtime PM guard macro for auto-cleanup
  PM: runtime: Add auto-cleanup macros for "resume and get" operations
  PM: runtime: Update kerneldoc return codes
  PM: runtime: Make put{,_sync}() return 1 when already suspended
  PM: runtime: Add basic kunit tests for API contracts
drivers/base/core.c
drivers/base/power/main.c
drivers/base/power/runtime.c