[PATCH v2 13/23] interconnect: qcom: sm8550: fix registration race

Johan Hovold johan at kernel.org
Mon Mar 6 01:34:34 PST 2023


On Mon, Mar 06, 2023 at 11:03:14AM +0200, Abel Vesa wrote:
> On 23-03-06 08:56:41, Johan Hovold 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: e6f0d6a30f73 ("interconnect: qcom: Add SM8550 interconnect provider driver")
> > Reviewed-by: Abel Vesa <abel.vesa at linaro.org>
> > Reviewed-by: Konrad Dybcio <konrad.dybcio at linaro.org>
> > Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
> > ---
> 
> Any changes since v1 or is it just a resend? 

Please see the cover letter:

	https://lore.kernel.org/lkml/20230306075651.2449-1-johan+linaro@kernel.org/

Only the first patch of the series was updated in v2.

Johan



More information about the linux-arm-kernel mailing list