Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp690819rwd; Wed, 7 Jun 2023 05:48:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4cJwcf4xTlA6fAckNZtAiQgtJL1wry43i7ZzZSUEPwKQcCqCnI9p+nyQuCHOJyuaOreoHV X-Received: by 2002:a05:6a00:1a0e:b0:652:940e:497 with SMTP id g14-20020a056a001a0e00b00652940e0497mr2186815pfv.31.1686142100826; Wed, 07 Jun 2023 05:48:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686142100; cv=none; d=google.com; s=arc-20160816; b=agrh7K8dL+pd3c7q1OPjObISHBKleb2MT5nIMrZfcvGiXkddt1/hYmvcoBnlTSgLQB 2dXp6Ws2K2JQ1OLfnIbexWecCeSe9ma0EVirDqIQi2xNUCX8ISc4rev/bGwO1Kes/mWO ihOGHIN815dBBVbB0SXHbWHBBqkXxO3KwLwfVvt9eVNp131c6VQmDeDgB9+E4zbAvYTh ixc/+aht+UC/Jsf31K94DDMfIGohD4JjFlv9Ps7/AZl3Auv2VTmSqiWOZB6M7XIcpXnY 6quqTqRP2ecPZliEfJJy154iN35fvGPZ81+t+eP0P7Y2+qLZ89pP575AwsA5mgix9X6Z 5maA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=sfgh0wXDuBsxdZzmvslnek33IenAM+jhwyPgNrDd72w=; b=xv8Y7upGyVh5IX9450NVh2MBSDyz7JJspBVJkYJ6I31paJ2iy/rcfJGcJby7ZsIq7N VaoOgnTxytqym/ZKhCrxJy6pvrgJ7BhuvIGYjJxMZr1k0/YTIyTiEPCzNeF27SuI6kQ5 fl3wk5LmMr+R8IiHOXh/TUSl63BISHbv+HumJ+mrtcEOzJ1Na0d9hbHNmnqhrEw1zlqy RHDCiLWXX2kQeg0IoTE7u4emlwmE5YxuMm27/6w8A+gxyU32tRs0Z2Zh6lhgUgSIEiRS OiB5SezK44Btksi8mJM4ssr1Q/pxauadvjCYUnifdeBYtOD46BWsFRKB2dtGdLqZVms8 einA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=OwBJgsqi; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a12-20020aa795ac000000b0064490c20e80si8709415pfk.59.2023.06.07.05.48.05; Wed, 07 Jun 2023 05:48:20 -0700 (PDT) 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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=OwBJgsqi; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240851AbjFGM1R (ORCPT + 99 others); Wed, 7 Jun 2023 08:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240859AbjFGM1Q (ORCPT ); Wed, 7 Jun 2023 08:27:16 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 222F91BFE; Wed, 7 Jun 2023 05:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sfgh0wXDuBsxdZzmvslnek33IenAM+jhwyPgNrDd72w=; b=OwBJgsqiqluv2F3opSH5pTIy3B 2sn+QRCTBolIVAf7YtViwNt7IQhUAs8aXPLS/Xnct3/2QSsZc2v8E3HawXNcRZZxRh5qrPUgw2g1N TWpVSbI/9qVELIqYG31vgATU2iOEhOertibK+2pSOZGxLaRL2nlXAcGjOe7D3/gmzniVW/SIbbU6H U/zDgFJ+7WW+5OENkucUzFbTVfMHTRc9ez410dr6CgrzOxVNIaT+9ZkWbeIAu4vjjOGc7pWOg9oSc +ZFHPaJiL+DsS8jpmOM6vW4cAlbvw5A7HpRVlwuWBfZ7xq7+ywyGUmQQ61Bv7qIKTmhU32+AbNxZb aK8K7uLg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:45564) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q6sFU-0007Qp-LE; Wed, 07 Jun 2023 13:26:48 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1q6sFN-0008DF-MJ; Wed, 07 Jun 2023 13:26:41 +0100 Date: Wed, 7 Jun 2023 13:26:41 +0100 From: "Russell King (Oracle)" To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexis.lothore@bootlin.com, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , Ioana Ciornei , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Jose Abreu , Alexandre Torgue , Giuseppe Cavallaro , Simon Horman , Maciej Fijalkowski , Feiyang Chen Subject: Re: [PATCH net-next v4 4/5] net: altera_tse: explicitly disable autoscan on the regmap-mdio bus Message-ID: References: <20230607135941.407054-1-maxime.chevallier@bootlin.com> <20230607135941.407054-5-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230607135941.407054-5-maxime.chevallier@bootlin.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Wed, Jun 07, 2023 at 03:59:40PM +0200, Maxime Chevallier wrote: > Set the .autoscan flag to false on the regmap-mdio bus, to avoid using a > random uninitialized value. We don't want autoscan in this case as the > mdio device is a PCS and not a PHY. Isn't this now covered by patch 1's memset of mrc? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!