[PATCH v2 04/23] interconnect: imx: fix registration race

Johan Hovold johan at kernel.org
Tue Mar 7 02:25:52 PST 2023


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 at kernel.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 at vger.kernel.org      # 5.8
> > Cc: Alexandre Bailon <abailon at baylibre.com>
> > Reviewed-by: Konrad Dybcio <konrad.dybcio at linaro.org>
> > Tested-by: Luca Ceresoli <luca.ceresoli at bootlin.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 at bootlin.com>

Thanks for reconfirming. Looks like Georgi has picked these up for
6.3-rc now.

Johan



More information about the linux-arm-kernel mailing list