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=1796128223; b=5MVkZWqz/+9MA2pHdd1hip1W/V7VyXletMQQ0aPjDZyAYKL8gnEhx0xT+BKxuHEBBnUz eU3u2EBhlTlXD92rzx5Qb4l3c38oOW4W8DyHFxhiP99ow1rzAn1I0TYvUKKel5aDD7x7c eeLZU8onLGZuGM4qRSOe3OhsqXtoHGD3XnFPpGVADRf+qVQmKsgeVFw2zDYDkCbfBaasw PdcIjrwGMVv7eFWjI6PBzhZ5JosWU1i7Z21kdQEgIf+EMJ6wRjYExJjnsaP7heEdm0zay 1p6qU5+G0K4AjZ3k11I4paGDbCEdcdlSxo+96MNXMFGZWzILdfPtUR6/tuvYBGZPcFQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796128223; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=IVATVj3iHyCXGJEg5FT5xflUV2lhQQ6rC6TLfQHsrnA=; b=Ikb5QwdktTrNuX6cFynWPBPBBbrSXHGkv5UEFCg/z4tujNAcT09dfjX2qN4ehZ8WUze5 2pt3HPXV0unOTL/7uLGEnkixgkLtNhRQyNluAIMZwxsa9xzZTLPefM4FJ86MzH/h3BRdi hcZE2jsk2ZvUZzi+87nD/fzssJnJYdufK4VfNr5iPmJd2qoHw3Gd2yAp2InDBNbn6z63u sXnq52GG8sQy/z8rxUKOrv30c5qxshX8gbzOC85hH7dTUgb1IcYwj7QvoWnrq06JWnwl6 m+ftdQHo6/OEvv2zE0DXYr7P4zV7rHrp5RjkQPghMIWq8KxIzoV5BQYUErKDQCAMchg== 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=YTMCeuf+; 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 338C0606A333 for ; Tue, 1 Dec 2026 12:30:22 +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=YTMCeuf+ Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA5A31F00893; Tue, 1 Dec 2026 12:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796128222; bh=IVATVj3iHyCXGJEg5FT5xflUV2lhQQ6rC6TLfQHsrnA=; h=From:To:Cc:Subject:Date; b=YTMCeuf+RRA+deYMMT5lZHAOJU1dHuitjcFYQ9g/k/8DFgj6gaDS5UBiCwd04my5n zD5YLOV+9a4bbqzLp8bwl+3H78lOVSvqGAsYJeGuWznR4p2AvKjBhXMxi1IWBerZCg 1tXE2iSg2918vSnHJZz8gNnODvkFD/lcLbObN6Tyx3Q7/o3c3Zzm6Fp9PW+2PPQ6sW qihwVJOO7v1t9zgeBE/Zjkmf0Mba7x2GI8TozGPJAr64JDtP8pa8NCTKvS7KxXZERf HdUomZiC9QrSYz+WqXYDH1ODayuwLobWfiWIGsUuBng2s4qjwlF/ofLqfjD+UG30VY 4cQT8S7SHG/FQ== From: Philipp Stanner To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Philipp Stanner Subject: [PATCH 0/3] PCI: Improve devres documentation Date: Tue, 1 Dec 2026 13:29:49 +0100 Message-ID: <20261201122951.904104-2-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 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