[PATCH] PCI: spacemit: Ignore link partner PERST on K1
Troy Mitchell
troy.mitchell at linux.spacemit.com
Wed Sep 23 19:23:43 PDT 2026
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 at linux.spacemit.com>
Fix tag and reported-by tag [1]?
Link: https://lore.kernel.org/all/20260825052249.66921-1-bbanelli@gmail.com/ [1]
--
Troy Mitchell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260924/1e1aff89/attachment.sig>
More information about the linux-riscv
mailing list