public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] PCI: mediatek-gen3: Enable async probe by default
@ 2024-12-20 22:52 Douglas Anderson
  2024-12-23  6:00 ` Manivannan Sadhasivam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Douglas Anderson @ 2024-12-20 22:52 UTC (permalink / raw)
  To: Ryder Lee, Jianjun Wang, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas
  Cc: Douglas Anderson, AngeloGioacchino Del Regno,
	Manivannan Sadhasivam, Matthias Brugger, Rob Herring,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-pci

Like other PCIe drivers, the mediatek-gen3 driver has a fairly slow
probe. Turn on async probe since there's no reason to block the rest
of the system.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
---

 drivers/pci/controller/pcie-mediatek-gen3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/pcie-mediatek-gen3.c b/drivers/pci/controller/pcie-mediatek-gen3.c
index be52e3a123ab..49512786d5e4 100644
--- a/drivers/pci/controller/pcie-mediatek-gen3.c
+++ b/drivers/pci/controller/pcie-mediatek-gen3.c
@@ -1301,6 +1301,7 @@ static struct platform_driver mtk_pcie_driver = {
 		.name = "mtk-pcie-gen3",
 		.of_match_table = mtk_pcie_of_match,
 		.pm = &mtk_pcie_pm_ops,
+		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 	},
 };
 
-- 
2.47.1.613.gc27f4b7a9f-goog



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

* Re: [PATCH] PCI: mediatek-gen3: Enable async probe by default
  2024-12-20 22:52 [PATCH] PCI: mediatek-gen3: Enable async probe by default Douglas Anderson
@ 2024-12-23  6:00 ` Manivannan Sadhasivam
  2024-12-23 11:18 ` AngeloGioacchino Del Regno
  2025-01-15 11:16 ` Krzysztof Wilczyński
  2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2024-12-23  6:00 UTC (permalink / raw)
  To: Douglas Anderson
  Cc: Ryder Lee, Jianjun Wang, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas,
	AngeloGioacchino Del Regno, Matthias Brugger, Rob Herring,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-pci

On Fri, Dec 20, 2024 at 02:52:05PM -0800, Douglas Anderson wrote:
> Like other PCIe drivers, the mediatek-gen3 driver has a fairly slow
> probe. Turn on async probe since there's no reason to block the rest
> of the system.
> 
> Signed-off-by: Douglas Anderson <dianders@chromium.org>

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

- Mani

> ---
> 
>  drivers/pci/controller/pcie-mediatek-gen3.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pci/controller/pcie-mediatek-gen3.c b/drivers/pci/controller/pcie-mediatek-gen3.c
> index be52e3a123ab..49512786d5e4 100644
> --- a/drivers/pci/controller/pcie-mediatek-gen3.c
> +++ b/drivers/pci/controller/pcie-mediatek-gen3.c
> @@ -1301,6 +1301,7 @@ static struct platform_driver mtk_pcie_driver = {
>  		.name = "mtk-pcie-gen3",
>  		.of_match_table = mtk_pcie_of_match,
>  		.pm = &mtk_pcie_pm_ops,
> +		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
>  	},
>  };
>  
> -- 
> 2.47.1.613.gc27f4b7a9f-goog
> 

-- 
மணிவண்ணன் சதாசிவம்


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

* Re: [PATCH] PCI: mediatek-gen3: Enable async probe by default
  2024-12-20 22:52 [PATCH] PCI: mediatek-gen3: Enable async probe by default Douglas Anderson
  2024-12-23  6:00 ` Manivannan Sadhasivam
@ 2024-12-23 11:18 ` AngeloGioacchino Del Regno
  2025-01-15 11:16 ` Krzysztof Wilczyński
  2 siblings, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-12-23 11:18 UTC (permalink / raw)
  To: Douglas Anderson, Ryder Lee, Jianjun Wang, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Bjorn Helgaas
  Cc: Manivannan Sadhasivam, Matthias Brugger, Rob Herring,
	linux-arm-kernel, linux-kernel, linux-mediatek, linux-pci

Il 20/12/24 23:52, Douglas Anderson ha scritto:
> Like other PCIe drivers, the mediatek-gen3 driver has a fairly slow
> probe. Turn on async probe since there's no reason to block the rest
> of the system.
> 
> Signed-off-by: Douglas Anderson <dianders@chromium.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



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

* Re: [PATCH] PCI: mediatek-gen3: Enable async probe by default
  2024-12-20 22:52 [PATCH] PCI: mediatek-gen3: Enable async probe by default Douglas Anderson
  2024-12-23  6:00 ` Manivannan Sadhasivam
  2024-12-23 11:18 ` AngeloGioacchino Del Regno
@ 2025-01-15 11:16 ` Krzysztof Wilczyński
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Wilczyński @ 2025-01-15 11:16 UTC (permalink / raw)
  To: Douglas Anderson
  Cc: Ryder Lee, Jianjun Wang, Lorenzo Pieralisi, Bjorn Helgaas,
	AngeloGioacchino Del Regno, Manivannan Sadhasivam,
	Matthias Brugger, Rob Herring, linux-arm-kernel, linux-kernel,
	linux-mediatek, linux-pci

Hello,

> Like other PCIe drivers, the mediatek-gen3 driver has a fairly slow
> probe. Turn on async probe since there's no reason to block the rest
> of the system.

Applied to controller/mediatek for v6.14, thank you!

	Krzysztof


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

end of thread, other threads:[~2025-01-15 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 22:52 [PATCH] PCI: mediatek-gen3: Enable async probe by default Douglas Anderson
2024-12-23  6:00 ` Manivannan Sadhasivam
2024-12-23 11:18 ` AngeloGioacchino Del Regno
2025-01-15 11:16 ` Krzysztof Wilczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox