From f4fbbcdb77e0b1749deb4cebc207d50b18623434 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:44 +0530 Subject: [PATCH 01/18] PCI: al: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-al.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-al.c b/drivers/pci/controller/dwc/pcie-al.c index 345c281c74fefd..6e3f52ccc1fa7e 100644 --- a/drivers/pci/controller/dwc/pcie-al.c +++ b/drivers/pci/controller/dwc/pcie-al.c @@ -383,6 +383,7 @@ static struct platform_driver al_pcie_driver = { .name = "al-pcie", .of_match_table = al_pcie_of_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = al_pcie_probe, }; From 83c4f55d8b32c8c625d3aa0ffc19503ccb39664d Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:45 +0530 Subject: [PATCH 02/18] PCI: amd-mdb: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-amd-mdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-amd-mdb.c b/drivers/pci/controller/dwc/pcie-amd-mdb.c index 3c6e837465bb7b..3da5ceac9b6a43 100644 --- a/drivers/pci/controller/dwc/pcie-amd-mdb.c +++ b/drivers/pci/controller/dwc/pcie-amd-mdb.c @@ -519,6 +519,7 @@ static struct platform_driver amd_mdb_pcie_driver = { .name = "amd-mdb-pcie", .of_match_table = amd_mdb_pcie_of_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = amd_mdb_pcie_probe, }; From 14997471811fd7b065dd9b927b5b5c75fe90a1c4 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:46 +0530 Subject: [PATCH 03/18] PCI: armada8x: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-armada8k.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-armada8k.c b/drivers/pci/controller/dwc/pcie-armada8k.c index c2650fd0d45890..ffb5554a2a8d5e 100644 --- a/drivers/pci/controller/dwc/pcie-armada8k.c +++ b/drivers/pci/controller/dwc/pcie-armada8k.c @@ -344,6 +344,7 @@ static struct platform_driver armada8k_pcie_driver = { .name = "armada8k-pcie", .of_match_table = armada8k_pcie_of_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(armada8k_pcie_driver); From 950ac95bd0044340056c9b21a0047cc270074105 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:47 +0530 Subject: [PATCH 04/18] PCI: artpec6: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-artpec6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-artpec6.c b/drivers/pci/controller/dwc/pcie-artpec6.c index e994b75986c34a..d8b827926b85fa 100644 --- a/drivers/pci/controller/dwc/pcie-artpec6.c +++ b/drivers/pci/controller/dwc/pcie-artpec6.c @@ -520,6 +520,7 @@ static struct platform_driver artpec6_pcie_driver = { .name = "artpec6-pcie", .of_match_table = artpec6_pcie_of_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(artpec6_pcie_driver); From 8e6a5fd8723f28a05eb0bdcb273456db655a8db4 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:48 +0530 Subject: [PATCH 05/18] PCI: bt1: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-bt1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-bt1.c b/drivers/pci/controller/dwc/pcie-bt1.c index 1340edc18d1285..ef6a3c7fa279fc 100644 --- a/drivers/pci/controller/dwc/pcie-bt1.c +++ b/drivers/pci/controller/dwc/pcie-bt1.c @@ -636,6 +636,7 @@ static struct platform_driver bt1_pcie_driver = { .driver = { .name = "bt1-pcie", .of_match_table = bt1_pcie_of_match, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_platform_driver(bt1_pcie_driver); From 67048a1cb24375b5bf42aaf25b82042bf0dc7773 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:49 +0530 Subject: [PATCH 06/18] PCI: dra7xx: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pci-dra7xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c b/drivers/pci/controller/dwc/pci-dra7xx.c index d5d26229063f2a..be470d54b2ee3a 100644 --- a/drivers/pci/controller/dwc/pci-dra7xx.c +++ b/drivers/pci/controller/dwc/pci-dra7xx.c @@ -951,6 +951,7 @@ static struct platform_driver dra7xx_pcie_driver = { .of_match_table = of_dra7xx_pcie_match, .suppress_bind_attrs = true, .pm = &dra7xx_pcie_pm_ops, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .shutdown = dra7xx_pcie_shutdown, }; From 8a9a5d3b83f528ab1c83f07ea8877d4ddc38839a Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:50 +0530 Subject: [PATCH 07/18] PCI: exynos: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pci-exynos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-exynos.c b/drivers/pci/controller/dwc/pci-exynos.c index 0bb7d4f5d7840e..ee2423e16b583d 100644 --- a/drivers/pci/controller/dwc/pci-exynos.c +++ b/drivers/pci/controller/dwc/pci-exynos.c @@ -388,6 +388,7 @@ static struct platform_driver exynos_pcie_driver = { .name = "exynos-pcie", .of_match_table = exynos_pcie_of_match, .pm = &exynos_pcie_pm_ops, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_platform_driver(exynos_pcie_driver); From 8749cc4e49b3a79c88ae486acbe613adab3de6a0 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:51 +0530 Subject: [PATCH 08/18] PCI: fu740: Allow asynchronous probing for background link training 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. Fix the identation of the callback functions. Signed-off-by: Anand Moon Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-fu740.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-fu740.c b/drivers/pci/controller/dwc/pcie-fu740.c index 66367252032b84..aa6a15baf3fd4d 100644 --- a/drivers/pci/controller/dwc/pcie-fu740.c +++ b/drivers/pci/controller/dwc/pcie-fu740.c @@ -346,9 +346,10 @@ static const struct of_device_id fu740_pcie_of_match[] = { static struct platform_driver fu740_pcie_driver = { .driver = { - .name = "fu740-pcie", - .of_match_table = fu740_pcie_of_match, - .suppress_bind_attrs = true, + .name = "fu740-pcie", + .of_match_table = fu740_pcie_of_match, + .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = fu740_pcie_probe, .shutdown = fu740_pcie_shutdown, From ffa838b029397080aee7c04a0893a979b6a49a5e Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:52 +0530 Subject: [PATCH 09/18] PCI: intel-gw: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-intel-gw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-intel-gw.c b/drivers/pci/controller/dwc/pcie-intel-gw.c index c21906eced6189..bc5d96dc12bf6f 100644 --- a/drivers/pci/controller/dwc/pcie-intel-gw.c +++ b/drivers/pci/controller/dwc/pcie-intel-gw.c @@ -442,6 +442,7 @@ static struct platform_driver intel_pcie_driver = { .name = "intel-gw-pcie", .of_match_table = of_intel_pcie_match, .pm = &intel_pcie_pm_ops, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(intel_pcie_driver); From c490037356bbef76476cba7b65cdf08b86c951bd Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:53 +0530 Subject: [PATCH 10/18] PCI: keystone: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pci-keystone.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index 20fa4dadb82afe..b5c0c690593efb 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -1351,6 +1351,7 @@ static struct platform_driver ks_pcie_driver = { .driver = { .name = "keystone-pcie", .of_match_table = ks_pcie_of_match, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; From 0c7ab75c8b1b4179895f8afb0cbe9aa240e67e72 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:54 +0530 Subject: [PATCH 11/18] PCI: keembay: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-keembay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-keembay.c b/drivers/pci/controller/dwc/pcie-keembay.c index 2666a9c3d67e71..a82d69b37e4d1c 100644 --- a/drivers/pci/controller/dwc/pcie-keembay.c +++ b/drivers/pci/controller/dwc/pcie-keembay.c @@ -478,6 +478,7 @@ static struct platform_driver keembay_pcie_driver = { .name = "keembay-pcie", .of_match_table = keembay_pcie_of_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = keembay_pcie_probe, }; From 3ce5043efe74d3f573a977956485ebe150038116 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:55 +0530 Subject: [PATCH 12/18] PCI: kirin: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-kirin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c index 91559c8b1866ed..bc905056a9d750 100644 --- a/drivers/pci/controller/dwc/pcie-kirin.c +++ b/drivers/pci/controller/dwc/pcie-kirin.c @@ -757,6 +757,7 @@ static struct platform_driver kirin_pcie_driver = { .name = "kirin-pcie", .of_match_table = kirin_pcie_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_platform_driver(kirin_pcie_driver); From 14649854d11fc3521f1bd2eb10cdac916f99d598 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:56 +0530 Subject: [PATCH 13/18] PCI: layerscape: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pci-layerscape.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-layerscape.c b/drivers/pci/controller/dwc/pci-layerscape.c index a44b5c256d6e2a..43a28d9ea7b0a9 100644 --- a/drivers/pci/controller/dwc/pci-layerscape.c +++ b/drivers/pci/controller/dwc/pci-layerscape.c @@ -410,6 +410,7 @@ static struct platform_driver ls_pcie_driver = { .of_match_table = ls_pcie_of_match, .suppress_bind_attrs = true, .pm = &ls_pcie_pm_ops, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(ls_pcie_driver); From 469742c19e3e6aecb372f9b149e122683cbd28f9 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:57 +0530 Subject: [PATCH 14/18] PCI: meson: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pci-meson.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-meson.c b/drivers/pci/controller/dwc/pci-meson.c index 0694084f612b79..280146f7b783b3 100644 --- a/drivers/pci/controller/dwc/pci-meson.c +++ b/drivers/pci/controller/dwc/pci-meson.c @@ -467,6 +467,7 @@ static struct platform_driver meson_pcie_driver = { .driver = { .name = "meson-pcie", .of_match_table = meson_pcie_of_match, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; From b5196792cb1ce495bfab52cfb67bb2f49489ef75 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:58 +0530 Subject: [PATCH 15/18] PCI: sophgo: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-sophgo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-sophgo.c b/drivers/pci/controller/dwc/pcie-sophgo.c index 044088898819e5..0393f4b613dee8 100644 --- a/drivers/pci/controller/dwc/pcie-sophgo.c +++ b/drivers/pci/controller/dwc/pcie-sophgo.c @@ -269,6 +269,7 @@ static struct platform_driver sophgo_pcie_driver = { .name = "sophgo-pcie", .of_match_table = sophgo_pcie_of_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = sophgo_pcie_probe, }; From a5d0cac63fb34a7679ab90c22ffdd5531b7dba4d Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:21:59 +0530 Subject: [PATCH 16/18] PCI: tegra194: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-tegra194.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c index 06571d806ab31f..7381d0019d24b7 100644 --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -2493,6 +2493,7 @@ static struct platform_driver tegra_pcie_dw_driver = { .name = "tegra194-pcie", .pm = &tegra_pcie_dw_pm_ops, .of_match_table = tegra_pcie_dw_of_match, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_platform_driver(tegra_pcie_dw_driver); From 3a1bde9644527a1a519e298e52fb392c2a17dc76 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:22:00 +0530 Subject: [PATCH 17/18] PCI: uniphier: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-uniphier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-uniphier.c b/drivers/pci/controller/dwc/pcie-uniphier.c index 297e7a3d9b368d..53f3bc9f5ba77d 100644 --- a/drivers/pci/controller/dwc/pcie-uniphier.c +++ b/drivers/pci/controller/dwc/pcie-uniphier.c @@ -404,6 +404,7 @@ static struct platform_driver uniphier_pcie_driver = { .driver = { .name = "uniphier-pcie", .of_match_table = uniphier_pcie_match, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(uniphier_pcie_driver); From 081d7f8ba05a9b0823d7c97c6211776d6f68ac78 Mon Sep 17 00:00:00 2001 From: Anand Moon Date: Wed, 4 Mar 2026 19:22:01 +0530 Subject: [PATCH 18/18] PCI: visconti: Allow asynchronous probing for background link training 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 Signed-off-by: Linux RISC-V bot --- drivers/pci/controller/dwc/pcie-visconti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pcie-visconti.c b/drivers/pci/controller/dwc/pcie-visconti.c index cdeac6177143cf..f21cc95fe89fe9 100644 --- a/drivers/pci/controller/dwc/pcie-visconti.c +++ b/drivers/pci/controller/dwc/pcie-visconti.c @@ -324,6 +324,7 @@ static struct platform_driver visconti_pcie_driver = { .name = "visconti-pcie", .of_match_table = visconti_pcie_match, .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(visconti_pcie_driver);