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=1796152860; b=UPr5fKdVuN4lc0QnRoe24+aGR3iI69v0B1RZFCZjbCt4eBLfirrMEFH0PhJXA9e/NaFT SpvX1/fapv23YqThhu3jR1acgt3H8stXI6eF8nM6EReoN3jUZPsb0WDlIpFw+jkBFVEJA j/1aktvspleHUs30Gd2dTneBsHvZYQw7Z+41BBVc9cVLsU+EgzPXzdnSMXMl9NKMyQxPD LEZxALlZeO3CXL9cgvznyQflkW9JdhQ0R0EJ8EGUgNtbWvK5IbQr47TjhF7qzv8G3p315 lYCu0+fxfhcY5xKu6anmYqdhHV0ZPn0UaZSD9j740rUAhssYFMlz5r7Ixp9dvVmXcZw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796152860; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=k0wDomPMB2t1kzwz9V0i1gXU32Lc5dTtOIbWgR+BwqE=; b=No0B+Isgz+XiEJnsZHktn9YECWre0IXuDBU829E0BztM4xl1kHuw6yLO/nxsWmIjZAu/ GiM6A3ek23mgXWAbdELp8I4I68LahyBCZZtoRzlfgAAGj0x1YAdIyPeG3VlNzAfmIOGks wzbzUc6g+JjUyKScSmx+gH4dKucys5uJD4A+wDazS9hKl5/VB3hWs95jCrejZ+W2aW7ZL 3QXMPkirXZEY6srjbYBvN8rQu2Xyl+3hr6g38kn99iNfnlLZKqokJiLr2dm6lc7YwjRKB IWR2wF2/lCQU7Vp3PdsYgImcAjAM9u9fi1d7VgORVa46W3UeD/wKJCiwOlH4kOowEDQ== 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=mtH8J2EC; 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 4B896606A33C for ; Tue, 1 Dec 2026 19:21:00 +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=mtH8J2EC Received: by smtp.kernel.org (Postfix) with ESMTPSA id D93D71F0089C; Tue, 1 Dec 2026 19:20:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796152859; bh=k0wDomPMB2t1kzwz9V0i1gXU32Lc5dTtOIbWgR+BwqE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=mtH8J2EC8zfwtgpoHygSmX7bALxhxD6Pu0/J4n8cFAuxI970X0gZpKR3ij1VDbI5E F4wRS4Wjl6fL8pX54Iu1gJFoDB+ZSKtgMQzAfgIMQSGTskPePXmckjCjWu91LiASTM Hy4Jsae6vjFztmm1Lc0DEWb6rkVuzhO470v0uix5VIP2vsWUsLXEDB3bJCkSLmBO8Z 1N4NzfWYjrilEqsdPOtbIlO5NOFH1ZX2OZ4WnYUZr4jkImcB4oL+sh2qHcd4MuTcXQ J0lhBThFiiOgF07RJ4cNteA4D7UjRYKFC5iLjmrIJ/jq6kSkSts7sL2IYf5fHDIKY0 9fIHru5h8r+7A== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net] net: stmmac: intel: Do not call pcim_enable_device() on resume Reply-To: sashiko-reviews@lists.linux.dev To: "Arina Kharlamova" Cc: linux-pci@vger.kernel.org In-Reply-To: <20261201-s2p-d103-v1-1-4304d05f8af8@mbzuai.ac.ae> References: <20261201-s2p-d103-v1-1-4304d05f8af8@mbzuai.ac.ae> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 19:20:59 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Arina Kharlamova >=20 > intel_eth_pci_resume() calls pcim_enable_device() although the device > is enabled in probe and intel_eth_pci_suspend() does not disable it. > Since commit 77f79ac8de0f ("PCI: Remove struct pci_devres.enabled > status bit") each call raises the enable count. Since commit > f748a07a0b64 ("PCI: Remove legacy pcim_release()") each call also adds > a pcim_disable_device() devres action. Both pile up with every > suspend and resume until the device is unbound. The call does not > touch the hardware, because the enable count is already above zero > there. >=20 > The device stays enabled across suspend, so drop the call. >=20 > Fixes: 77f79ac8de0f ("PCI: Remove struct pci_devres.enabled status bit") > Fixes: f748a07a0b64 ("PCI: Remove legacy pcim_release()") > Signed-off-by: Arina Kharlamova Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-s2p-d103-v= 1-1-4304d05f8af8@mbzuai.ac.ae?part=3D1