Re: [PATCH v3 2/2] PCI: imx6: Align EP link start behavior with documentation
From: Manivannan Sadhasivam
Date: Tue Jul 08 2025 - 03:48:13 EST
On Mon, Jun 16, 2025 at 04:57:42PM GMT, Richard Zhu wrote:
> According to PCI/endpoint/pci-endpoint-cfs.rst, the endpoint (EP) should
> only link up after `echo 1 > start` is executed.
>
> To match the documented behavior, do not start the link automatically
> when adding the EP controller.
>
> Signed-off-by: Richard Zhu <hongxing.zhu@xxxxxxx>
Fixes tag?
- Mani
> Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> ---
> drivers/pci/controller/dwc/pci-imx6.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c
> index f5f2ac638f4b..fda03512944d 100644
> --- a/drivers/pci/controller/dwc/pci-imx6.c
> +++ b/drivers/pci/controller/dwc/pci-imx6.c
> @@ -1468,9 +1468,6 @@ static int imx_add_pcie_ep(struct imx_pcie *imx_pcie,
>
> pci_epc_init_notify(ep->epc);
>
> - /* Start LTSSM. */
> - imx_pcie_ltssm_enable(dev);
> -
> return 0;
> }
>
> --
> 2.37.1
>
--
மணிவண்ணன் சதாசிவம்