From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Linux PM <linux-pm@vger.kernel.org>, Takashi Iwai <tiwai@suse.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linux PCI <linux-pci@vger.kernel.org>,
Alex Williamson <alex.williamson@redhat.com>,
Bjorn Helgaas <helgaas@kernel.org>,
Zhang Qilong <zhangqilong3@huawei.com>,
Ulf Hansson <ulf.hansson@linaro.org>
Subject: [PATCH v2 0/3] PM: runtime: Auto-cleanup macros for runtime PM
Date: Sat, 20 Sep 2025 12:49:20 +0200 [thread overview]
Message-ID: <6204724.lOV4Wx5bFT@rafael.j.wysocki> (raw)
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!
next reply other threads:[~2025-09-20 10:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-20 10:49 Rafael J. Wysocki [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6204724.lOV4Wx5bFT@rafael.j.wysocki \
--to=rafael@kernel.org \
--cc=alex.williamson@redhat.com \
--cc=helgaas@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=tiwai@suse.de \
--cc=ulf.hansson@linaro.org \
--cc=zhangqilong3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox