Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp649885rwd; Wed, 7 Jun 2023 05:16:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ufslNuB/XSF6nsyNFNO7b+sSMUp4o3iddhqwuJtBrdQH/EN/0tci1bDEAT6j450WHZghl X-Received: by 2002:a05:6a20:3944:b0:10b:e39a:b50e with SMTP id r4-20020a056a20394400b0010be39ab50emr1055242pzg.36.1686140208742; Wed, 07 Jun 2023 05:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686140208; cv=none; d=google.com; s=arc-20160816; b=IVCLVfJ4rKyQtmzV08IiGfquDbecPD32gzItaARQ1Qk5H2g4z000Rqwag9Zq2gz4Pm jjsx3kj0zWWHUptnqg9CYQjIDGA7eO1g274tFubobjfiAYqQt2GBNrv4o6lq/SKYyyYZ +fUKdCdMMUDKWcNNbXQNcj12i42L9NFuFH5reLzVdtZgifgxxOgJ5WUWR1MOxqtJoS1b WuI6pRiilkV1oPEyto4MDjIqWcNEXQTGE9X3XZ//P+9dy5rn5t58dUtrIKL4szxQ6XlA UcEKdFz+Iz6GrkW6xzPm8O3otaY/+w3lhRZZ6q11R/hftGXvbMAHqKmr4uYnAch7kej9 xHAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zDOmdelsTF8Z6hYisJ6LU6CbovJMoLnJ7YdYJmDf1ok=; b=mB7wjmCp7SFm/Z0T/ofRSOWLKPEelVPhZdiIr6pKF2kJw8h/9TE4+iWMtU1xB7KLMM 7WN6aO4JJW8wMJIKs5A9QydJFMR94dtTYGUnBclOJraKWBqcMHg59DKVwIpsVmGfSsqs MpedWuyOzuizpiYwKQA1I9KvLGHwoF7AQusvhd1SdVpyljOLkRnk200Oq8dLlWJ2jCLO WnHjEPVsMhx0AnhwzOg2Pzwmmn+rPbvkpCo9AZSBlHPRYyoqNT7Xh+TxbZ8GcdRKOob3 UqjGwgiQM5uxw44PMHHq6af30ZY6NZNQPV2SpxfDeZlD498x1IbMX1OMdkjBxG1u/zPC SZ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=DBOeENL1; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a627b08000000b0063b77e2123csi8910854pfc.26.2023.06.07.05.16.32; Wed, 07 Jun 2023 05:16:48 -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=pass header.i=@bootlin.com header.s=gm1 header.b=DBOeENL1; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236481AbjFGMIU (ORCPT + 99 others); Wed, 7 Jun 2023 08:08:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234384AbjFGMIT (ORCPT ); Wed, 7 Jun 2023 08:08:19 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5921E1BD5; Wed, 7 Jun 2023 05:08:17 -0700 (PDT) X-GND-Sasl: maxime.chevallier@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686139695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zDOmdelsTF8Z6hYisJ6LU6CbovJMoLnJ7YdYJmDf1ok=; b=DBOeENL1aunjzqB9GnjIuX+NQpbFPAUgX9U+zqJRBmOJxQGc3aLUl/x4yyNnyA690SBdsT fam6eB4E74ikXWnKneFeZPBdZrRCANi7s9PH7c0FWqcZH0cHTe8CJz1RF01/C0CE2/R9VA 1DNMpqioOz63xeQNMQ7bvPttk78uEDN4jFs27talQoWIv2XSz1mwGISQwhHHokvoI7V23v TzE+M1fHhUwA8RcIdjhwKAk/D0q4YnDxGjsWd70t4sYyrQsrQJPgqcp5X76RO/9E52rNUN b1PGPonop4DMBh2o4mt27FHFm7zQGDDg9b018BjLUdHqKPNf4HyVKITkegFcEQ== X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com X-GND-Sasl: maxime.chevallier@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 2CF07E0009; Wed, 7 Jun 2023 12:08:11 +0000 (UTC) From: Maxime Chevallier To: davem@davemloft.net Cc: Maxime Chevallier , 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 , Russell King , 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: [PATCH net-next v4 0/5] Followup fixes for the dwmac and altera lynx conversion Date: Wed, 7 Jun 2023 15:59:36 +0200 Message-Id: <20230607135941.407054-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,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 Hello everyone, Here's yet another version of the cleanup series for the TSE PCS replacement by PCS Lynx. It includes Kconfig fixups, some missing initialisations and a slight rework suggested by Russell for the dwmac cleanup sequence, along with more explicit zeroing of local structures as per MAciej's review. V3->V4 : - Zero mdio_regmap_config objects - Make regmap config more local in dwmac_socfpga V2->V3 : - Fix uninitialized .autoscan field for mdio regmap configuration in both altera_tse and dwmac_socfpga V1->V2 : - Fix a Kconfig inconsistency - rework the dwmac_socfpga cleanup sequence Maxime Chevallier (5): net: altera-tse: Initialize local structs before using it net: altera_tse: Use the correct Kconfig option for the PCS_LYNX dependency net: stmmac: make the pcs_lynx cleanup sequence specific to dwmac_socfpga net: altera_tse: explicitly disable autoscan on the regmap-mdio bus net: dwmac_socfpga: initialize local data for mdio regmap configuration drivers/net/ethernet/altera/Kconfig | 2 +- drivers/net/ethernet/altera/altera_tse_main.c | 3 ++ drivers/net/ethernet/stmicro/stmmac/common.h | 1 - .../ethernet/stmicro/stmmac/dwmac-socfpga.c | 29 ++++++++++++++----- .../net/ethernet/stmicro/stmmac/stmmac_mdio.c | 3 -- 5 files changed, 26 insertions(+), 12 deletions(-) -- 2.40.1