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 A3344C05027 for ; Thu, 2 Feb 2023 12:22:40 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=B0hjPverw8h6U7iiQSn2CfqYRGTdRckj3GfXvkJ6K0k=; b=wYYEAaCwQbMupH 2WuLVjjQ9xXuq3+x1KEDCnH7k7irTp3INzo7KY74pZioeCbpUkeacJ9Vl7t7kMITvcqUwyz82xz/S EiWvEfvEyLn+r5FqkHH1cr5+qRR33wgdpbEuRJSJlVEhVcAVnJZqyGrjJs5QpVorPi7gMS7Hz6Iyj vRNgh7bd7bNhky5KaAuO9Mr/RAbiaJcp2vwodEIXt30UgEHBndQD1D23Iax7JlywNT+bEENJwdoq0 zF+d2iodiGJb5IlzYLQKz5e1HaJymW+FD2S67D7jVLTB64s3RU+gJdjSudjH5WaVRMIkfVo/fInx3 CjTacqAvhFoeWEZr9KGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNYb4-00FkyC-2P; Thu, 02 Feb 2023 12:21:46 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNYag-00Fkkm-LN for linux-arm-kernel@lists.infradead.org; Thu, 02 Feb 2023 12:21:24 +0000 Received: by mail-wm1-x32c.google.com with SMTP id t6-20020a1c7706000000b003dfdaa1d998so794709wmi.0 for ; Thu, 02 Feb 2023 04:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HXw3bt4I3cMvPHyqkA7MenjqrJEIYl3h0G0pbW0M5Ds=; b=gqGOGYaMFQpHdvDSBJgq/0n0DQypu8Nga3v8ip8IlMbPsR+gp1tGjvP2cskBHWGqrp HCHYfcqUVaFltTAICWUfEIVPucuHJoHKiN+4VF/j1+Enj4E7R/w6QWfgUogeH+MwEknv OIkmA2R/bS+//l9vbWL6WQuz+U2R8g8SDX9nl/3Z5uOgM2JuA3nZNNu4F3VHv+6dzL9m tOrezE3HComLyaN1E7cqcVi1Wtpe/ikv6Ii3OWPp2AhqKPSQ+6ctrbmqQ2ZPRaV9J0qj T4sgcumS75tMK1HG5ybChyZOCfDhIbFCU9D0a2VAQt8xytn26WVDuB5HeZsAqE22VbdA yvYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HXw3bt4I3cMvPHyqkA7MenjqrJEIYl3h0G0pbW0M5Ds=; b=hH5JQETxEBE2qy5vKdbVFTrVSJ2DRbJ6WqQ1i7e0hMwQwQePYGSKei8KK6lm32a88h PyZsdob/lYXU4vS+HP4oCj7PB5AyAhHARIa9PRjjYn6u5ZCMkiOnTwjkb87Glg46eYiS E1bOR6Uv9ztc40E/peRR0IJWxLz6pUfUll2cElI38RhdF4v2lNBI8vveox/qsVZxbPGX iZcNE49wJBB7SAShypBciCfnsnB7K9atvQE2jbZclvfezwvfYWLVxYXeSnpB5rUYZ25W fzf1+k4HkJ2lgnb98awXooUk1LIQqc6yrtbX/NqHd5cQtHdTz/EQzx6Lk7hItBe9nmj+ mU7A== X-Gm-Message-State: AO0yUKXd4GGwfeMB6N4SfCUN3coL6b8WU1AzwJBsG/OXNdLSOXpj/3KB Z9UNViG7U7pFFrJ0OnBNjNbluQ== X-Google-Smtp-Source: AK7set89gD0s2fUw5qHWrT4EWVSzstvSKSvqzBxtcRO9Es9fSPJEB70Tfsmw6HkifxmtJXAo552uIA== X-Received: by 2002:a05:600c:4f53:b0:3dd:97d6:8f2a with SMTP id m19-20020a05600c4f5300b003dd97d68f2amr5761886wmq.33.1675340477334; Thu, 02 Feb 2023 04:21:17 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id o9-20020a05600c4fc900b003dc1300eab0sm5115509wmq.33.2023.02.02.04.21.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Feb 2023 04:21:16 -0800 (PST) Message-ID: Date: Thu, 2 Feb 2023 13:21:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 19/23] memory: tegra20-emc: fix interconnect registration race Content-Language: en-US To: Johan Hovold , Georgi Djakov Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Andy Gross , Bjorn Andersson , Konrad Dybcio , Sylwester Nawrocki , =?UTF-8?B?QXJ0dXIgxZp3aWdvxYQ=?= , 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, Dmitry Osipenko References: <20230201101559.15529-1-johan+linaro@kernel.org> <20230201101559.15529-20-johan+linaro@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20230201101559.15529-20-johan+linaro@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230202_042122_745056_EDF0D7E9 X-CRM114-Status: GOOD ( 11.09 ) 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/2023 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. > > Fixes: d5ef16ba5fbe ("memory: tegra20: Support interconnect framework") > Cc: stable@vger.kernel.org # 5.11 > Cc: Dmitry Osipenko > Signed-off-by: Johan Hovold Acked-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel