All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linu-next v1] PCI: dw-rockchip: Enable async probe by default
@ 2024-06-25 15:57 ` Anand Moon
  0 siblings, 0 replies; 10+ messages in thread
From: Anand Moon @ 2024-06-25 15:57 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring,
	Bjorn Helgaas, Heiko Stuebner
  Cc: Anand Moon, linux-pci, linux-arm-kernel, linux-rockchip,
	linux-kernel

Rockchip PCIe driver lets waits for the combo PHY link like PCIe 3.0,
PCIe 2.0 and SATA 3.0 controller to be up during the probe this
consumes several milliseconds during boot.

Establishing a PCIe link can take a while; allow asynchronous probing so
that link establishment can happen in the background while other devices
are being probed.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 drivers/pci/controller/dwc/pcie-dw-rockchip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
index 61b1acba7182..74a3e9d172a0 100644
--- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c
+++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
@@ -367,6 +367,7 @@ static struct platform_driver rockchip_pcie_driver = {
 		.name	= "rockchip-dw-pcie",
 		.of_match_table = rockchip_pcie_of_match,
 		.suppress_bind_attrs = true,
+		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 	},
 	.probe = rockchip_pcie_probe,
 };
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-08  3:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25 15:57 [PATCH linu-next v1] PCI: dw-rockchip: Enable async probe by default Anand Moon
2024-06-25 15:57 ` Anand Moon
2024-08-07  4:39 ` Anand Moon
2024-08-07  4:39   ` Anand Moon
2024-08-07 16:31 ` Bjorn Helgaas
2024-08-07 16:31   ` Bjorn Helgaas
2024-08-07 17:00   ` Manivannan Sadhasivam
2024-08-07 17:00     ` Manivannan Sadhasivam
2024-08-08  3:13     ` Anand Moon
2024-08-08  3:13       ` Anand Moon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.