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 7986DC678D5 for ; Tue, 7 Mar 2023 09:44:35 +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:MIME-Version:References:In-Reply-To: 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=mTd+fiWsxqXVLfKtf45D8e1nwtnCutD+sA+37jLFpDs=; b=0PjVuIkB4/4TZT inhX35FIxEuqpOLsNu6wvtXuydtUwaxcvj29JWP7Gslc4nZhe8B5rV7p3fYc3PGJ2KtBYgQ1+84zq OfIcUU1/1uKzpF03hy3LQoi8I+wfrfydrh5eQD2CCrzQXQW1GbOV/eW3ns0jXY0vgmCZO1M5+pl69 7RM08TltztHM/khkUn2t0SUEF151L3wdTWKl1VmhhuJuxYKTkXXVk3JFyOvQPoi+K0eay+BwEvXFw j85G99ZTbLGPvvTKWHIhND2kgvnlwpjYtrGjxdFT7BN4PWi9bYmWqSqfPx8BsuukM2rECunR71Vz2 oEBcR2kG6Ix+OYkVyk7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZTrB-00Gz7x-4N; Tue, 07 Mar 2023 09:43:41 +0000 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZTr5-00Gz3f-21 for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2023 09:43:36 +0000 Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id EF9851C0005; Tue, 7 Mar 2023 09:43:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678182210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=01+uAnOiSLbTM0wZcSQJcnuJqtQP5yT5es3lE/RNx8s=; b=W0FOXboaN+ZfaE1tOFAvB0nH9CZUt2e57a9f90MZdoalOOiRKe0aTlMaeJ30NwVZqfyo7Z E7WglxyOR0vU8/phJe7AxiQe+XKeN5p2ay7pUIouDSX2Ay0fBGasMnn9/cSzAtIjyXvIQJ Rh4itmk/epniRXUBvtOCitKQ2WBfhBnYYLsISU4V8mS/NeEvdFBoWqyCIlFUXbetFBE4qd nqOOcIBvSesXGNQcH5WFlReYR0+9moZA4Qmn1GzlWA6Do6HpxR0cQvHIqFwiQwhzrl9oR6 prAQn9sFF5bs4Bnu/mh0mzYOUwG2LOouY+sy65380JLuYEXYQye9zegYfMJQrw== Date: Tue, 7 Mar 2023 10:43:24 +0100 From: Luca Ceresoli 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?Q?=C5=9Awigo=C5=84?= , "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, Alexandre Bailon Subject: Re: [PATCH v2 04/23] interconnect: imx: fix registration race Message-ID: <20230307104324.121166d1@booty> In-Reply-To: <20230306075651.2449-5-johan+linaro@kernel.org> References: <20230306075651.2449-1-johan+linaro@kernel.org> <20230306075651.2449-5-johan+linaro@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230307_014335_277280_7D191555 X-CRM114-Status: GOOD ( 11.74 ) 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, 6 Mar 2023 08:56:32 +0100 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: f0d8048525d7 ("interconnect: Add imx core driver") > Cc: stable@vger.kernel.org # 5.8 > Cc: Alexandre Bailon > Reviewed-by: Konrad Dybcio > Tested-by: Luca Ceresoli 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 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