Thread (33 messages) 33 messages, 4 authors, 2023-03-07

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

From: Luca Ceresoli <luca.ceresoli@bootlin.com>
Date: 2023-03-07 09:43:59
Also in: linux-arm-msm, linux-pm, linux-samsung-soc, linux-tegra, lkml, stable

On Mon,  6 Mar 2023 08:56:32 +0100
Johan Hovold [off-list ref] 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@vger.kernel.org      # 5.8
Cc: Alexandre Bailon <redacted>
Reviewed-by: Konrad Dybcio <redacted>
Tested-by: Luca Ceresoli <luca.ceresoli@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@bootlin.com>

-- 
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help