Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp40812pxm; Tue, 22 Feb 2022 06:03:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0mHcTfkqz2p7qTlhOMlWUs445/GnbLIoRfe0rsR922xkSfcR9g+9n0m0RgbPhorUGg7Oi X-Received: by 2002:a17:903:18a:b0:14f:bdc4:713 with SMTP id z10-20020a170903018a00b0014fbdc40713mr8775709plg.109.1645538583297; Tue, 22 Feb 2022 06:03:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645538583; cv=none; d=google.com; s=arc-20160816; b=hE0o18Cg7NUzbJ60w7mYAcYDD8hWa63gIE0TsUl88mwzYvpEzBsUkj1tUnG1/2UQe3 WBHdUnLpSjOWJvr+iL+fqpU1eN8ttMnym7tKcBHyKDIY9ZzXkAzPALb7jJSvNOkxbl+1 mzkIibh6qoAvF3mct6SlMEjwRf9OFFkAKy0zlGCTjPUcH8Rzi84bnH/p3gXCoWiqhIOA CCeUlejXO5leKuleC17j8uZPZio09WNOxbJmODVMIbMBycDJmoGRMMTm6PYs1STwt6H4 1eD9wQnZovhoJCFZtaZpYdBDdKOygT3GEr+Zn+7RivRDjOrORMNk3/q7Kf6nWNHkAXIn KeYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=g+hWI6MRsCRi2lxscK+4cWMROzZR84sE0LncJc0ua5o=; b=0u77oxthZ8IwuQv9zSvMwyklGWouUob9fcYC6kpq1PgMlw0advITq/5iN/H4LQjfbq bixaUTeaBR2jjlU2wwtqKw120FNHA8ChvCU2rJnIJBB3f27fsHN/mGGXJpQSV86mX9Vy 31O2lTi/xZKOEcYMarO7V9S70uEoPvERsJY4wQfDNAtP1pq4k7sAqWCPKq9hkhC7GFn3 MBWWskK2F+e7H6UtC6G62pgqQDB2VHpfSOXc1tkOSHd+BnDNwH5gq+cz9JZ/UWqieR1x cW2qxNCjQE/29ob6lCn7TvPdtseVqZm1NSZTATIuBfUuKnNH81euD1roTfc7OpoQ+ORz uung== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n2si21117176pgl.49.2022.02.22.06.02.39; Tue, 22 Feb 2022 06:03:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232553AbiBVNoa (ORCPT + 99 others); Tue, 22 Feb 2022 08:44:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232545AbiBVNo1 (ORCPT ); Tue, 22 Feb 2022 08:44:27 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E325A11EF14; Tue, 22 Feb 2022 05:44:01 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 0AAB51C0BA1; Tue, 22 Feb 2022 14:43:59 +0100 (CET) Date: Tue, 22 Feb 2022 14:43:58 +0100 From: Pavel Machek To: Lad Prabhakar Cc: Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , linux-can@vger.kernel.org, Pavel Machek , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Ulrich Hecht , Prabhakar , Biju Das Subject: Re: [PATCH] can: rcar_canfd: Register the CAN device when fully ready Message-ID: <20220222134358.GA7037@duo.ucw.cz> References: <20220221225935.12300-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <20220221225935.12300-1-prabhakar.mahadev-lad.rj@bp.renesas.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2022-02-21 22:59:35, Lad Prabhakar wrote: > Register the CAN device only when all the necessary initialization > is completed. This patch makes sure all the data structures and locks are > initialized before registering the CAN device. Reviewed-by: Pavel Machek I guess it will go to mainline and then -stable so that we don't have to do anything special? Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYhTongAKCRAw5/Bqldv6 8mIWAJ98FJJH5ouSpkP9gaSrTyx+Iv4+CACgj4UJT+tTBbsHMy/iQ1QYWMZJ91E= =rWL/ -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--