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 9B162C678D4 for ; Mon, 6 Mar 2023 09:35:32 +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=Y7DxsNq7bLliu37K+O35qYXWpyMhwu8WgAQjDNjeB28=; b=jxnw1bZTentfiF 7loY9YAXJhpXd9wyu23aOCYVUHEeM20C4ZenbJIyauV2HQQRn7BVvM29mSOS+xtC+hoPuWa0DCfAy extsLCUVkX6MMyKmVdwgbv9tkD7C/PTtjmnb5X+u+/+JsZ9H6WNY6xIpj1kCV0vk9TLw4sUr06Dpl llo+77qKWqQVxbze582Ls3W3ghi7ssJ65EFWgArPdW7fxmWEdtvQWU1AdfVoXodq/uHeVy80TDEeU p/aH/LRIEqwO4uKWviwNCJ3yzUAvqyrMLCXy22sNWpjiKVjmzPqWFgOZnYCzRHcmiLI794uJwi7oq BHZ2+jaeVm8vgoZGeFXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ7EI-00C6Xq-KN; Mon, 06 Mar 2023 09:34:02 +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 1pZ7EE-00C6Uj-IF for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 09:34:00 +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 268F3B80B9D; Mon, 6 Mar 2023 09:33:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7037C433EF; Mon, 6 Mar 2023 09:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678095234; bh=rSbVlDvA0jl2+1DdaAOATpB+OkCH45l4wsx5jB/wzTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fAi/3R+QQgtVZ8tI+kiUfYNfcLV+HA9q6LUDYpqvhhMtP8mbasNUF0eKSDF8AmiUy DOKGbmAoESXz7sYqeVmrbpa6o/fP3ziYt29zZFt4xXPJp/bD+Sbi1emB64/U48nGKp i1BDPW6iZHlIpnHry6dVwpp9VjCr3ixaezuIs+pmf5fSCgsB/7aci5dKRoO2rKxwVN AxsbTCfPDmNeCACZpQ/xmsm6A7Wx7f8OoV5DIPtqrmXOEhdlSe9E9p7wHlh/J2lv6d yUr9laRp93UNN3PGd/cLp40htMU55q20PUw/pjAs6clh0Xc/pVY90pC+iElgCVGxNs cjC8SyuqRN/tA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pZ7Eo-0003jw-Bk; Mon, 06 Mar 2023 10:34:34 +0100 Date: Mon, 6 Mar 2023 10:34:34 +0100 From: Johan Hovold To: Abel Vesa 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230306_013358_816434_C431F78E X-CRM114-Status: GOOD ( 15.66 ) 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 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. Johan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel