[PATCH] PCI: cadence: skip the link polling when endpoint not connected
Chen Wang
unicorn_wang at outlook.com
Sun Jun 7 23:26:04 PDT 2026
On 6/5/2026 3:19 PM, Aksh Garg wrote:
> cdns_pcie_host_wait_for_link() polls on link-up for 10 retries with a
> delay of 90-100ms each (~1 second). A call to cdns_pcie_host_link_setup()
> during the resume operation blocks the resume operation unnecessarily for
> ~1s even when no endpoint device is connected.
>
> Add skip_link_polling flag to track link state across suspend/resume
> cycles. If link was down before suspend, skip the expensive polling
> in resume since no endpoint was present.
>
> Signed-off-by: Aksh Garg <a-garg7 at ti.com>
Reviewed-by: Chen Wang <unicorn_wang at outlook.com>
[......]
More information about the linux-arm-kernel
mailing list