Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] PCI: Improve devres documentation
@ 2026-12-03 12:53 Philipp Stanner
  2026-12-03 12:53 ` [PATCH v2 1/3] PCI: Deprecate public devres reversal functions Philipp Stanner
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Philipp Stanner @ 2026-12-03 12:53 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, Philipp Stanner

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


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

end of thread, other threads:[~2026-12-03 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 12:53 [PATCH v2 0/3] PCI: Improve devres documentation Philipp Stanner
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

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