public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] PM: runtime: Auto-cleanup macros for runtime PM
@ 2025-09-20 10:49 Rafael J. Wysocki
  2025-09-20 10:54 ` [PATCH v2 1/3] PM: runtime: Add auto-cleanup macros for "resume and get" operations Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2025-09-20 10:49 UTC (permalink / raw)
  To: Linux PM, Takashi Iwai
  Cc: LKML, Linux PCI, Alex Williamson, Bjorn Helgaas, Zhang Qilong,
	Ulf Hansson

Hi All,

This supersedes both

https://lore.kernel.org/linux-pm/5049058.31r3eYUQgx@rafael.j.wysocki/

and

https://lore.kernel.org/linux-pm/20250919163147.4743-1-tiwai@suse.de/

that were sent simultaneously by mistake and both made a mistake of
forgetting that __pm_runtime_suspend() returns an error code for devices
with runtime PM disabled.

The first patch in this series has been modified to provide additional
two macros for the cases in which runtime PM is expected to work
transparently if runtime PM has been disabled for the given device.
Also the names of the new classes defined in it and the new helper
static inline function have been changed.

The second patch has been updated to reflect the changes in the first patch.

The last patch is basically the same as before.

Thanks!




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-09-22 14:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-20 10:49 [PATCH v2 0/3] PM: runtime: Auto-cleanup macros for runtime PM Rafael J. Wysocki
2025-09-20 10:54 ` [PATCH v2 1/3] PM: runtime: Add auto-cleanup macros for "resume and get" operations Rafael J. Wysocki
2025-09-22  8:38   ` Takashi Iwai
2025-09-22 12:50     ` Rafael J. Wysocki
2025-09-22 13:32       ` Takashi Iwai
2025-09-22 13:44         ` Rafael J. Wysocki
2025-09-22 14:07           ` Takashi Iwai
2025-09-22 14:16             ` Rafael J. Wysocki
2025-09-20 10:56 ` [PATCH v2 2/3] PCI/sysfs: Use runtime PM class macro for auto-cleanup Rafael J. Wysocki
2025-09-20 10:56 ` [PATCH v2 3/3] PM: runtime: Drop DEFINE_FREE() for pm_runtime_put Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox