[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHCN7xLnSEPzvsWbm-+JquJrpOfMFwaE3Hd26Qhv_WqGaweUaA@mail.gmail.com>
Date: Wed, 8 May 2024 12:43:38 -0500
From: Adam Ford <aford173@...il.com>
To: Francesco Dolcini <francesco@...cini.it>
Cc: Vitor Soares <ivitro@...il.com>, Ulf Hansson <ulf.hansson@...aro.org>,
Shawn Guo <shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>,
Vitor Soares <vitor.soares@...adex.com>, linux-pm@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Lucas Stach <l.stach@...gutronix.de>
Subject: Re: [PATCH v1] pmdomain: imx8m-blk-ctrl: fix suspend/resume order
On Wed, May 8, 2024 at 12:40 PM Francesco Dolcini <francesco@...cini.it> wrote:
>
> On Thu, Apr 18, 2024 at 04:51:51PM +0100, Vitor Soares wrote:
> > From: Vitor Soares <vitor.soares@...adex.com>
> >
> > During the probe, the genpd power_dev is added to the dpm_list after
> > blk_ctrl due to its parent/child relationship. Making the blk_ctrl
> > suspend after and resume before the genpd power_dev.
> >
> > As a consequence, the system hangs when resuming the VPU due to the
> > power domain dependency.
> >
> > To ensure the proper suspend/resume order, add a device link betweem
> > blk_ctrl and genpd power_dev. It guarantees genpd power_dev is suspended
> > after and resumed before blk-ctrl.
> >
>
> Cc: Adam Ford
Thanks! This is what I was thinking from the other thread. I just
didn't see this one.
adam
>
> Francesco
>
Powered by blists - more mailing lists