aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAjay Agarwal <[email protected]>2023-04-12 15:04:25 +0530
committerLorenzo Pieralisi <[email protected]>2023-05-26 10:45:12 +0200
commitda56a1bfbab55189595e588f1d984bdfb5cf5924 (patch)
tree3b6bc5e11ca564f1349019af3e3d688da6866b70 /tools/perf/scripts/python/export-to-postgresql.py
parentac9a78681b921877518763ba0e89202254349d1b (diff)
PCI: dwc: Wait for link up only if link is started
In dw_pcie_host_init() regardless of whether the link has been started or not, the code waits for the link to come up. Even in cases where start_link() is not defined the code ends up spinning in a loop for 1 second. Since in some systems dw_pcie_host_init() gets called during probe, this one second loop for each pcie interface instance ends up extending the boot time. Wait for the link up in only if the start_link() is defined. Link: https://lore.kernel.org/r/[email protected] Tested-by: Will McVicker <[email protected]> Signed-off-by: Sajid Dalvi <[email protected]> Signed-off-by: Ajay Agarwal <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions