From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796302424; b=weiCMxDRiD1JBYtHomZNyfRctJHXyYn1hh22H7QaPEJvjZSpA8FxgvFu1AEFTHhxOn71 0FnqCYBbYwZ5oWMJW/iYOHptJJstXQ1PBcmNuYQEBucjcb66fwRK+Y/qaCcy22CQo+bvw oxQlk93RhYo8jPNDaqMiFiad/WBmIPrMcqwPdH3Bc+Y+WWJq4lSB2Vc8RCkTB7PHMihmr MyvwIiK0PYL6dbreGskkXJckmBmAAosjYVvA1hcDMN6KJ4g6+aOChqbHkKl66UaNNMZ6L oJlzN0mNEGUqTaNPQeIYdu76obzb2l/q/qQhxkRe+SrTNSrxO7ded5OuWBt4l5iPHnA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796302424; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=A5obfewEkXrIsl1Gl83N9y0dunhw8OuZp2tc3XNXvAk=; b=uO1tO8zUow94RYNDJsH4TESouiegRQgcimpMeX/tkjn0/TtDtXwHaBZTydEiG6X96S3H 7YXFGOarObRPDWcQKpwig/Z1o0O9o31qreKnDaE2Ahui8QWoqYnuG9sDoPymo8wrpeNWx w5cPFaT7gnl2gMA/m2X8Xj8nABdC038YSY0WXmJi4zLx+w+GMUg8x+E5UAUiaQ57viz3T 62UTQ0AAIQOTGt0zs5SuvsZgUmQBCSf70dTMARBohXcj2CVUANhKpexrQulk7uSBUO80O WMJXySa9l2CPvum2tOoHhWZ4h81EgFR5b8KsEK8u/QY7hHg/dpyI8jBEx7Zi78PQgnA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TwWNFUW3; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7772C606A32C for ; Thu, 3 Dec 2026 12:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TwWNFUW3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A9DB1F00893; Thu, 3 Dec 2026 12:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796302424; bh=A5obfewEkXrIsl1Gl83N9y0dunhw8OuZp2tc3XNXvAk=; h=From:To:Cc:Subject:Date; b=TwWNFUW3WqzZ6qPa5E63hnJiRsxveDbvhWdhyu4E6oeEkJjgDGLcTTrafJAJFh3K8 IbNHZkzb6qCljTDEQGIyebg2tk0KPj4pcLJQdajMpUFPZ5N5uXeXMj00rmXinAAkPr OOa74dhPFqt9R3diddfvr4YmpEQKJ5k7Pvm0W7lI7dNIQnhJl/4AAmvxtLdZn0fcTQ BmLqN52CjsMBk5HxoGNfZIkGDnLxDhMYInOequx9QOOjiXBh1C9nWG7uoy1uGzuNZi zcqYdl8p4af8TQJxjmL9KgDklEnCXNO6UkTRIGjv6ZTsjEu7Ifcc+ELLweUHsELCyA TM/rIA+7c0kRQ== From: Philipp Stanner To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Philipp Stanner Subject: [PATCH v2 0/3] PCI: Improve devres documentation Date: Thu, 3 Dec 2026 13:53:27 +0100 Message-ID: <20261203125328.2421736-3-phasta@kernel.org> X-Mailer: git-send-email 2.56.0 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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