[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230307104324.121166d1@booty>
Date: Tue, 7 Mar 2023 10:43:24 +0100
From: Luca Ceresoli <luca.ceresoli@...tlin.com>
To: Johan Hovold <johan+linaro@...nel.org>
Cc: 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 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>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists