]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Print the actual delay time in pci_bridge_wait_for_secondary_bus()
authorWilfred Mallawa <wilfred.mallawa@wdc.com>
Mon, 14 Apr 2025 00:15:06 +0000 (10:15 +1000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Apr 2025 20:24:20 +0000 (15:24 -0500)
commitd24eba726aadf8778f2907dd42281c6380b0ccaa
tree96a3806fa6da7b9f4d60ea296af7648bb528dae8
parent5fe8d08139280a552bb3e8471284362c65c5b032
PCI: Print the actual delay time in pci_bridge_wait_for_secondary_bus()

Print the delay amount that pcie_wait_for_link_delay() is invoked with
instead of the hardcoded 1000ms value in the debug info print.

Fixes: 7b3ba09febf4 ("PCI/PM: Shorten pci_bridge_wait_for_secondary_bus() wait time for slow links")
Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://patch.msgid.link/20250414001505.21243-2-wilfred.opensource@gmail.com
drivers/pci/pci.c