Thread (3 messages) 3 messages, 3 authors, 2026-03-26

Re: [PATCH v1] PCI: imx6: Skip waiting for L2/L3 Ready on i.MX6SX

From: Frank Li <Frank.li@nxp.com>
Date: 2026-03-12 14:56:28
Also in: imx, linux-pci, lkml, stable

On Sat, Feb 28, 2026 at 04:09:25PM +0800, Richard Zhu wrote:
On i.MX6SX, the LTSSM registers become inaccessible after the
PME_Turn_Off message is sent to the link. This prevents verification
of whether the link has successfully entered the L2/L3 Ready state.

Add a new flag 'IMX_PCIE_FLAG_SKIP_L23_READY' to skip the L2/L3 Ready
state check specifically for i.MX6SX PCIe controllers.

Fixes: a528d1a72597 ("PCI: imx6: Use DWC common suspend resume method")
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Cc: stable@vger.kernel.org
---
Reviewed-by: Frank Li <Frank.Li@nxp.com>
quoted hunk ↗ jump to hunk
 drivers/pci/controller/dwc/pci-imx6.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c
index 2d01c21b5570..4385cb18e240 100644
--- a/drivers/pci/controller/dwc/pci-imx6.c
+++ b/drivers/pci/controller/dwc/pci-imx6.c
@@ -1871,6 +1871,7 @@ static const struct imx_pcie_drvdata drvdata[] = {
 		.variant = IMX6SX,
 		.flags = IMX_PCIE_FLAG_IMX_PHY |
 			 IMX_PCIE_FLAG_SPEED_CHANGE_WORKAROUND |
+			 IMX_PCIE_FLAG_SKIP_L23_READY |
 			 IMX_PCIE_FLAG_SUPPORTS_SUSPEND,
 		.gpr = "fsl,imx6q-iomuxc-gpr",
 		.ltssm_off = IOMUXC_GPR12,
--
2.37.1
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help