Re: [PATCH] PCI: spacemit: Ignore link partner PERST on K1
From: Bjorn Helgaas
Date: Thu Nov 05 2026 - 14:16:53 EST
On Thu, Nov 05, 2026 at 10:53:05AM +0800, Encrow Thorne wrote:
> On Thu Sep 24, 2026 at 10:23 AM CST, Troy Mitchell wrote:
> > On Thu Sep 24, 2026 at 10:04 AM +08, Encrow Thorne wrote:
> >> The K1 PCIe controller and PHY are affected by the PERST signal from
> >> the link partner during initialization. With some devices connected,
> >> this can prevent host initialization from progressing and cause the
> >> system to hang while probing the PCIe controller.
> >>
> >> Set PCIE_IGNORE_PERSTN before accessing the DBI registers. When set,
> >> this bit makes both the PCIe controller and PHY ignore the PERST
> >> signal from the link partner.
> >>
> >> This allows host initialization to complete without being affected by
> >> the link partner's PERST state.
> >>
> >> Signed-off-by: Encrow Thorne <encrow.thorne@xxxxxxxxxxxxxxxxxx>
> > Fix tag and reported-by tag [1]?
> >
> > Link: https://lore.kernel.org/all/20260825052249.66921-1-bbanelli@xxxxxxxxx/ [1]
>
> Thanks, I will add it in the next version.
If you haven't posted another version yet, s/PERST/PERST#/ in subject,
commit log, and comment to match spec usage.