From: sashiko-bot@kernel.org
To: "Arina Kharlamova" <arina.kharlamova@mbzuai.ac.ae>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH net] net: stmmac: intel: Do not call pcim_enable_device() on resume
Date: Tue, 01 Dec 2026 19:20:59 +0000 [thread overview]
Message-ID: <sashiko-outbox-244034@kernel.org> (raw)
In-Reply-To: <20261201-s2p-d103-v1-1-4304d05f8af8@mbzuai.ac.ae>
> From: Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>
>
> 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.
>
> The device stays enabled across suspend, so drop the call.
>
> Fixes: 77f79ac8de0f ("PCI: Remove struct pci_devres.enabled status bit")
> Fixes: f748a07a0b64 ("PCI: Remove legacy pcim_release()")
> Signed-off-by: Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261201-s2p-d103-v1-1-4304d05f8af8@mbzuai.ac.ae?part=1
prev parent reply other threads:[~2026-12-01 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 19:14 [PATCH net] net: stmmac: intel: Do not call pcim_enable_device() on resume Arina Kharlamova via B4 Relay
2026-12-01 19:20 ` sashiko-bot [this message]
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=sashiko-outbox-244034@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=arina.kharlamova@mbzuai.ac.ae \
--cc=linux-pci@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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