Linux PCI subsystem development
 help / color / mirror / Atom feed
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 v2 0/3] PCI: Improve devres documentation
Date: Thu,  3 Dec 2026 13:53:27 +0100	[thread overview]
Message-ID: <20261203125328.2421736-3-phasta@kernel.org> (raw)

Changes in v2:
  - Remove mention of forgotten / non-existent functions.
  - Improve commit messages

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/

Philipp Stanner (3):
  PCI: Deprecate public devres reversal functions
  PCI: Better document pcim_enable_device()
  PCI: Deprecate pcim_pin_device()

 drivers/pci/devres.c | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)

-- 
2.56.0


             reply	other threads:[~2026-12-03 12:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 12:53 Philipp Stanner [this message]
2026-12-03 12:53 ` [PATCH v2 1/3] PCI: Deprecate public devres reversal functions Philipp Stanner
2026-12-03 13:11   ` sashiko-bot
2026-12-03 12:53 ` [PATCH v2 2/3] PCI: Better document pcim_enable_device() Philipp Stanner
2026-12-03 12:53 ` [PATCH v2 3/3] PCI: Deprecate pcim_pin_device() Philipp Stanner
2026-12-03 13:11 ` [PATCH v2 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=20261203125328.2421736-3-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox