[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZAcRMNTyDrqVMxIm@hovoldconsulting.com>
Date: Tue, 7 Mar 2023 11:25:52 +0100
From: Johan Hovold <johan@...nel.org>
To: Luca Ceresoli <luca.ceresoli@...tlin.com>
Cc: Johan Hovold <johan+linaro@...nel.org>,
Georgi Djakov <djakov@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Artur Świgoń <a.swigon@...sung.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
linux-pm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Alexandre Bailon <abailon@...libre.com>
Subject: Re: [PATCH v2 04/23] interconnect: imx: fix registration race
On Tue, Mar 07, 2023 at 10:43:24AM +0100, Luca Ceresoli wrote:
> On Mon, 6 Mar 2023 08:56:32 +0100
> Johan Hovold <johan+linaro@...nel.org> wrote:
>
> > The current interconnect provider registration interface is inherently
> > racy as nodes are not added until the after adding the provider. This
> > can specifically cause racing DT lookups to fail.
> >
> > Switch to using the new API where the provider is not registered until
> > after it has been fully initialised.
> >
> > Fixes: f0d8048525d7 ("interconnect: Add imx core driver")
> > Cc: stable@...r.kernel.org # 5.8
> > Cc: Alexandre Bailon <abailon@...libre.com>
> > Reviewed-by: Konrad Dybcio <konrad.dybcio@...aro.org>
> > Tested-by: Luca Ceresoli <luca.ceresoli@...tlin.com>
>
> v2 works just as well, so my Tested-by is confirmed. Maybe it's useful
> mentioning the hardware used for testing so:
>
> [Tested on i.MX8MP using an MSC SM2-MB-EP1 Board]
> Tested-by: Luca Ceresoli <luca.ceresoli@...tlin.com>
Thanks for reconfirming. Looks like Georgi has picked these up for
6.3-rc now.
Johan
Powered by blists - more mailing lists