From: sashiko-bot@kernel.org
To: "Encrow Thorne" <encrow.thorne@linux.spacemit.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH v2] PCI: spacemit: Ignore PERST# input in RC mode on K1
Date: Fri, 06 Nov 2026 02:16:31 +0000 [thread overview]
Message-ID: <sashiko-outbox-200585@kernel.org> (raw)
In-Reply-To: <20261106-spacemit-k1-pcie-fix-v2-1-6d74563b01d5@linux.spacemit.com>
> In RC mode, the K1 PERST# pad input also affects the local controller.
> Without PCIE_IGNORE_PERSTN set, asserting PERST# to reset the endpoint
> also resets the RC, losing previously programmed register values,
> including the vendor and device IDs.
>
> Set PCIE_IGNORE_PERSTN during RC initialization to prevent this
> feedback. Set it before the first DBI access, since PERST# may already
> be low when initialization starts, causing the access to hang.
>
> Fixes: ff64e078e45f ("PCI: spacemit: Add SpacemiT PCIe host driver")
> Reported-by: Bruno Banelli <bbanelli@gmail.com>
> Link: https://lore.kernel.org/all/20260825052249.66921-1-bbanelli@gmail.com/
> Signed-off-by: Encrow Thorne <encrow.thorne@linux.spacemit.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261106-spacemit-k1-pcie-fix-v2-1-6d74563b01d5@linux.spacemit.com?part=1
next prev parent reply other threads:[~2026-11-06 2:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 2:13 [PATCH v2] PCI: spacemit: Ignore PERST# input in RC mode on K1 Encrow Thorne
2026-11-06 2:13 ` Encrow Thorne
2026-11-06 2:16 ` sashiko-bot [this message]
2026-11-07 17:06 ` Manivannan Sadhasivam
2026-11-07 17:06 ` Manivannan Sadhasivam
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-200585@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=encrow.thorne@linux.spacemit.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.