From: Philipp Stanner <phasta@kernel.org>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: linux-pci@vger.kernel.org, Philipp Stanner <phasta@kernel.org>
Subject: [PATCH 0/3] PCI: Improve devres documentation
Date: Tue, 1 Dec 2026 13:29:49 +0100 [thread overview]
Message-ID: <20261201122951.904104-2-phasta@kernel.org> (raw)
Recent discussions and bugs [1, 2] related to my past PCI devres rework
have revealed that drivers have a hard time understanding the purpose of
the managed pcim_ API. This series deprecates the most confusing /
inconsistent functions and adds advice on which functions to use.
Based on master.
[1] https://lore.kernel.org/all/20261201-s2p-d60-v1-1-d88cf22132ab@mbzuai.ac.ae/
[2] https://lore.kernel.org/netdev/7ca512d133f7a3bcfe00e9b0b2af5fe5f147ad77.camel@mailbox.org/
(sorry for the resend, Bjorn. I messed up the PCI list when
copy-pasting)
Philipp Stanner (3):
PCI: Deprecate public devres reversal functions
PCI: Better document pcim_enable_device()
PCI: Deprecate pcim_pin_device()
drivers/pci/devres.c | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
base-commit: 19cc08c1a6a650f8e54c0461ff198be6448f425d
--
2.56.0
next reply other threads:[~2026-12-01 12:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 12:29 Philipp Stanner [this message]
2026-12-01 12:29 ` [PATCH 1/3] PCI: Deprecate public devres reversal functions Philipp Stanner
2026-12-01 12:40 ` sashiko-bot
2026-12-01 12:29 ` [PATCH 2/3] PCI: Better document pcim_enable_device() Philipp Stanner
2026-12-01 12:29 ` [PATCH 3/3] PCI: Deprecate pcim_pin_device() Philipp Stanner
2026-12-01 12:40 ` [PATCH 0/3] PCI: Improve devres documentation sashiko-bot
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=20261201122951.904104-2-phasta@kernel.org \
--to=phasta@kernel.org \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.