[PATCH v2 04/23] interconnect: imx: fix registration race
Luca Ceresoli
luca.ceresoli at bootlin.com
Tue Mar 7 01:43:24 PST 2023
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>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-arm-kernel
mailing list