From: sashiko-bot@kernel.org
To: "Yige Jiang" <yigejiang86@gmail.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v2] PCI: mt7621: Release port reset controls on host registration failure
Date: Thu, 03 Dec 2026 15:02:44 +0000 [thread overview]
Message-ID: <sashiko-outbox-248050@kernel.org> (raw)
In-Reply-To: <179630907465.68028.13430770028885227002.mt7621-v2@gmail.com>
> mt7621_pcie_parse_port() takes an exclusive reset control for each
> root port. If pci_host_probe() fails, mt7621_pcie_probe() returns the
> error from mt7621_pcie_register_host() without releasing the reset
> controls for the ports on pcie->ports. A subsequent probe can then
> fail to acquire those controls.
>
> Use the existing remove_resets path on host registration failure to
> release the controls and return the original error.
>
> Fixes: 2bdd5238e756 ("PCI: mt7621: Add MediaTek MT7621 PCIe host controller driver")
> Cc: stable@vger.kernel.org
> Signed-off-by: Yige Jiang <yigejiang86@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/179630907465.68028.13430770028885227002.mt7621-v2@gmail.com?part=1
prev parent reply other threads:[~2026-12-03 15:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 14:51 [PATCH v2] PCI: mt7621: Release port reset controls on host registration failure Yige Jiang
2026-12-03 14:54 ` Sergio Paracuellos
2026-12-03 15:02 ` 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-248050@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=yigejiang86@gmail.com \
/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