diff options
| author | Krishna chaitanya chundru <[email protected]> | 2024-11-22 19:10:01 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-01-18 17:35:18 +0000 |
| commit | f0639013d340580b72df95d012a93f35eeb0da64 (patch) | |
| tree | 38dadb6ad38f7af269b5efd2c757cb76234b59b9 /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | PCI: qcom: Don't wait for link if we can detect Link Up (diff) | |
| download | kernel-f0639013d340580b72df95d012a93f35eeb0da64.tar.gz kernel-f0639013d340580b72df95d012a93f35eeb0da64.zip | |
PCI: qcom: Update ICC and OPP values after Link Up event
4581403f6792 ("PCI: qcom: Enumerate endpoints based on Link up event in
'global_irq' interrupt") added the Link Up-based enumeration support, but
did not update the ICC/OPP vote once link is up. Before that, the update
happened during probe and the endpoints may or may not be enumerated at
that time, so the ICC/OPP vote was not guaranteed to be accurate.
With Link Up-based enumeration support, the driver can request the accurate
vote based on the PCIe link.
Call qcom_pcie_icc_opp_update() in qcom_pcie_global_irq_thread() after
enumerating the endpoints.
Fixes: 4581403f6792 ("PCI: qcom: Enumerate endpoints based on Link up event in 'global_irq' interrupt")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krishna chaitanya chundru <[email protected]>
[kwilczynski: commit log]
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
