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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E6FDC61DA4 for ; Mon, 6 Feb 2023 12:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dfjJTHN4DvRfC6puT3+PsSnkEOOM83bBju8/ujNsEew=; b=aJJPcQXRpLrMZV RNL2s5Ec0C8PAMANnBe2G/xPuyZNTjB7xTrqp/ni8KIDmFgBH4ZFOydOtFGUCJ5XdmYFG17TvTGuV DZGzEjg938RpGGKdO+jjYqhS2fzHPTyuzEGThFSZcDR2R+XgleELpYOdzOxzDf7KVUs2ENV8kfGoB uxo/aCHs2Gl4u8nn4SXmU7WyrAcOdEmpgNMVvPKkTTSbftYP3X+eG3gSLDBc2TaOb2dfQqTZzZxXS keKI545T28NRlH+CuOMJjc2213K3xjHxRFntZt3RZ8mB95x4lhI0oWATXatImWO8qIbHqe1tAbGVS Bud87SyGeXmVOA30Z/uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pP0Kr-008Rgz-8I; Mon, 06 Feb 2023 12:11:01 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pP0Km-008ReN-Tu for linux-arm-kernel@lists.infradead.org; Mon, 06 Feb 2023 12:10:58 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E3196B80EC7; Mon, 6 Feb 2023 12:10:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED6F3C433D2; Mon, 6 Feb 2023 12:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675685453; bh=MhW4f27C98PgGme9ON5ZgsCE3bB8QMRFivqHw0Wod5E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sniiiH5oHDcUIqxuALv9KJlhS0cJPFwQ3ntn1pYZZX1DmxLjRBzKV9J/XoYkVMg3H RWYDqEfatDv/UBeXAlYQ/jWW6qMbzkAgDTb7Kkl485iVzI/nyCOzBT4FprdqARdivp ucotwMxXWEaY6aDAxjcOWvGFA8kRNH+YPNLi9JP+9z4ZWuqENBm2XjMaUnFo2+mikg 5tZZ+6D6TRMbe3W/SEo2fKrZu3WBKdfnA8DehIiMdF1+IWU07URooHpo0BFtDWpnXo YyvS/AZ1IG1pV2gc4DBGU+q4jFP6LGBRbVUvMVMpgtkGcOrPjGv4kNQYquZrhR87oH M+Hmmq9MgwtTg== Date: Mon, 6 Feb 2023 17:40:49 +0530 From: Vinod Koul To: Johan Hovold Cc: 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, stable@vger.kernel.org Subject: Re: [PATCH 12/23] interconnect: qcom: sm8450: fix registration race Message-ID: References: <20230201101559.15529-1-johan+linaro@kernel.org> <20230201101559.15529-13-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230201101559.15529-13-johan+linaro@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230206_041057_199856_27DF96B3 X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01-02-23, 11:15, 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. Reviewed-by: Vinod Koul -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel