Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH v1] PCI: imx6: Skip waiting for L2/L3 Ready on i.MX6SX
@ 2026-02-28  8:09 Richard Zhu
  2026-03-12 14:56 ` Frank Li
  2026-03-26 16:53 ` Manivannan Sadhasivam
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Zhu @ 2026-02-28  8:09 UTC (permalink / raw)
  To: frank.li, l.stach, lpieralisi, kwilczynski, mani, robh, bhelgaas,
	s.hauer, kernel, festevam
  Cc: linux-pci, linux-arm-kernel, imx, linux-kernel, Richard Zhu,
	stable

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
---
 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


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

end of thread, other threads:[~2026-03-26 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28  8:09 [PATCH v1] PCI: imx6: Skip waiting for L2/L3 Ready on i.MX6SX Richard Zhu
2026-03-12 14:56 ` Frank Li
2026-03-26 16:53 ` Manivannan Sadhasivam

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