[PATCH v2 2/2] pmdomain: imx8mp-blk-ctrl: fix suspend/resume order

Peng Fan (OSS) peng.fan at oss.nxp.com
Sun Nov 29 22:04:28 PST 2026


On Thu, 26 Nov 2026 16:40:59 +0000 Vitor Soares <ivitro at gmail.com> wrote:

> From: Vitor Soares <vitor.soares at toradex.com>
> 
> As in imx8m-blk-ctrl, the GPC domains behind the HSIO and HDMI blk-ctrl
> are driven through the virtual devices from
> dev_pm_domain_attach_by_name(), which have no parent and no device link
> to the blk-ctrl or its consumers, so nothing orders them in dpm_list.
> 
> On Verdin iMX8MP, with the phy-fsl-imx8m-pcie module loaded after the
> HSIO blk-ctrl has probed, the virtual devices are suspended before the
> PCIe PHY, and the CPU hangs in genpd_suspend_noirq() of
> 32f00000.pcie-phy with the HSIO bus domain already off. The system
> never completes suspend to mem.
> 
> Add a stateless device link from the blk-ctrl to each virtual device,
> bus domain included, so they are suspended after and resumed before the
> blk-ctrl and its consumers.
> 
> Fixes: 556f5cf9568a ("soc: imx: add i.MX8MP HSIO blk-ctrl")
> Cc: stable at vger.kernel.org
> Co-developed-by: Francesco Dolcini <francesco.dolcini at toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
> Signed-off-by: Vitor Soares <vitor.soares at toradex.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>



More information about the linux-arm-kernel mailing list