Re: [PATCH] PCI: spacemit: Ignore link partner PERST on K1
From: Encrow Thorne
Date: Wed Nov 04 2026 - 21:54:10 EST
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.