From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F43AC6FD19 for ; Mon, 6 Mar 2023 09:39:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjCFJjl (ORCPT ); Mon, 6 Mar 2023 04:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbjCFJjk (ORCPT ); Mon, 6 Mar 2023 04:39:40 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E093231CF for ; Mon, 6 Mar 2023 01:39:37 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id o38-20020a05600c512600b003e8320d1c11so5254319wms.1 for ; Mon, 06 Mar 2023 01:39:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678095576; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=40VqwZdEe396hnC8YGU9F90+ZA2jbCFRQN93aV3XtXw=; b=QdfS0evwYqN16uiYZJspo9C1gthxHrsyJRYArFwYHH+xD4DiREALp8tIywQ3ozcx1D WZ9vyCgJcFT663XhBotfdR6lI5yqyur8JeiXcIvzNEN3NNta3pYjCaDd//GZChhl41GJ czRhiNv1KkIwWTaKpEtmOY9lduW6LZMNQooAeoIiuFeb/DAyyaKV8iD423kQtMC6vhMq dX5U6uF5hw0Q+zvDd4PVSbaGvYFCuWk9I8YMg300+rCgBoQwpGSDU1f+FcgZlBkzWrhK U4mu9s8m08BHM7dmMY4rz4V2BvcJtskUmuzbKi5/EdpBoIpZh66+O3WobYovTF15oKhg MSoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678095576; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=40VqwZdEe396hnC8YGU9F90+ZA2jbCFRQN93aV3XtXw=; b=kacfFwyyRNGGVDYw5STzg7IDlhZcvbf1TVXEgexrOkmB835YB4WIjIeQaxa2p3YwO7 xI2UotGAUb5PV1s2pDNv7gScFLQIw0DrVX1nrhLWERdq4F7yPz01GoisbP3/NLMX+BbJ AfLhgA+sEdUHma+LTcSxD4JNDyUG8e6cYTHpcY62PAJPJQ9BysGBJ/b7nPyK8c/MeOCH AiuaXG8gTfY9/6NlSC3odv3ntZTq40/6EhsHNJsNlaQvZ9aMCAD+zV8ENGqQZs5ongEL LACryKoMhD6d8y/iFqFg2PqQyE+TQRyHGM0F92K59WzbipFn3gb2wmgQLp5xFLUv87U9 vU5A== X-Gm-Message-State: AO0yUKWOzVJDKxAgtQuIT8Qb4ABDcVcQHHl0svJOpigC+gIgkhgUouzc 7TfmtkqubnQKLYny272/Cb7z2g== X-Google-Smtp-Source: AK7set88tTQGfzgyp+f/Btf9rlYPAuQT4JZr7E7rU0NltENebbxLf5HU1LaYA94GQ11/fk6/XQTYEQ== X-Received: by 2002:a05:600c:3c9d:b0:3eb:4150:a476 with SMTP id bg29-20020a05600c3c9d00b003eb4150a476mr8451832wmb.0.1678095575788; Mon, 06 Mar 2023 01:39:35 -0800 (PST) Received: from linaro.org ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id u32-20020a05600c4d2000b003dc522dd25esm9503954wmp.30.2023.03.06.01.39.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 01:39:35 -0800 (PST) Date: Mon, 6 Mar 2023 11:39:33 +0200 From: Abel Vesa To: Johan Hovold Cc: Johan Hovold , Georgi Djakov , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andy Gross , Bjorn Andersson , Konrad Dybcio , Sylwester Nawrocki , Artur =?utf-8?B?xZp3aWdvxYQ=?= , Krzysztof Kozlowski , Alim Akhtar , Thierry Reding , Jonathan Hunter , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 13/23] interconnect: qcom: sm8550: fix registration race Message-ID: References: <20230306075651.2449-1-johan+linaro@kernel.org> <20230306075651.2449-14-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 23-03-06 10:34:34, Johan Hovold wrote: > 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 > > > Reviewed-by: Konrad Dybcio > > > Signed-off-by: Johan Hovold > > > --- > > > > 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. Right, my bad. Though I wasn't CC'ed on that as well. > > Johan