Re: [PATCH v5 0/3] PCI: dwc: Skip waiting for link up if vendor drivers can detect Link up event
From: Krzysztof Wilczyński
Date: Wed Jan 15 2025 - 06:20:06 EST
Hello,
> If the vendor drivers can detect the Link up event using mechanisms
> such as Link up IRQ, then waiting for Link up during probe is not
> needed. if the drivers can be notified when the link comes up,
> vendor driver can enumerate downstream devices instead of waiting
> here, which optimizes the boot time.
>
> So skip waiting for link to be up if the driver supports 'use_linkup_irq'.
>
> Currently, only Qcom RC driver supports the 'use_linkup_irq' as it can
> detect the Link Up event using its own 'global IRQ' interrupt. So set
> 'use_linkup_irq' flag for QCOM drivers.
>
> And as part of the PCIe link up event, the ICC and OPP values are updated.
Applied to controller/dwc for v6.14, thank you!
Krzysztof