Patch "PCI: dwc: Always stop link in the dw_pcie_suspend_noirq" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    PCI: dwc: Always stop link in the dw_pcie_suspend_noirq

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     pci-dwc-always-stop-link-in-the-dw_pcie_suspend_noir.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 5bf14033141e3d5abcacb3294e0ad8ca11ad8ca2
Author: Richard Zhu <hongxing.zhu@xxxxxxx>
Date:   Tue Dec 10 16:15:56 2024 +0800

    PCI: dwc: Always stop link in the dw_pcie_suspend_noirq
    
    [ Upstream commit 86a016e278b78cc2281edd4ffaddbc011c87a593 ]
    
    On the i.MX8QM, PCIe link can't be re-established again in
    dw_pcie_resume_noirq(), if the LTSSM_EN bit is not cleared
    properly in dw_pcie_suspend_noirq().
    
    So, add dw_pcie_stop_link() to dw_pcie_suspend_noirq() to fix
    this issue and to align the suspend/resume functions since there
    is dw_pcie_start_link() in dw_pcie_resume_noirq() already.
    
    Fixes: 4774faf854f5 ("PCI: dwc: Implement generic suspend/resume functionality")
    Link: https://lore.kernel.org/r/20241210081557.163555-2-hongxing.zhu@xxxxxxx
    Signed-off-by: Richard Zhu <hongxing.zhu@xxxxxxx>
    [kwilczynski: commit log]
    Signed-off-by: Krzysztof Wilczyński <kwilczynski@xxxxxxxxxx>
    Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
    Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c
index 3e41865c72904..120e2aca5164a 100644
--- a/drivers/pci/controller/dwc/pcie-designware-host.c
+++ b/drivers/pci/controller/dwc/pcie-designware-host.c
@@ -946,6 +946,7 @@ int dw_pcie_suspend_noirq(struct dw_pcie *pci)
 		return ret;
 	}
 
+	dw_pcie_stop_link(pci);
 	if (pci->pp.ops->deinit)
 		pci->pp.ops->deinit(&pci->pp);
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux