diff options
author | Maciej W. Rozycki <macro@orcam.me.uk> | 2023-06-11 19:19:57 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-06-20 17:58:53 +0200 |
commit | 7604bc294c19fe70fb7d9091731a950b16249c51 (patch) | |
tree | 4c9a39cb4c25e80551da6553de35e9460ca2479b /security | |
parent | PCI: Add support for polling DLLLA to pcie_retrain_link() (diff) | |
download | linux-7604bc294c19fe70fb7d9091731a950b16249c51.tar.xz linux-7604bc294c19fe70fb7d9091731a950b16249c51.zip |
PCI: Use pcie_wait_for_link_status() in pcie_wait_for_link_delay()
Remove a DLLLA status bit polling loop from pcie_wait_for_link_delay() and
call almost identical code in pcie_wait_for_link_status() instead. This
reduces the lower bound on the polling interval from 10ms to 1ms, possibly
increasing the CPU load on the system in favour to reducing the wait time.
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2306111611170.64925@angie.orcam.me.uk
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions