Message ID | 20230607135941.407054-1-maxime.chevallier@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp316431rwl; Wed, 7 Jun 2023 05:28:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5EdV8puuwf45uM62Qnl56T6vwcMWhgVuPcy7+f0QLsMtQnzA+0vbjreD6VnTRMXjuzqQI7 X-Received: by 2002:a5d:8611:0:b0:77a:c494:b4be with SMTP id f17-20020a5d8611000000b0077ac494b4bemr1329400iol.19.1686140937367; Wed, 07 Jun 2023 05:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686140937; cv=none; d=google.com; s=arc-20160816; b=iAEubb+dOK3H0wnFNcFD7gXb6okzzmLPt+b/ZENuRayTUWglHfiQWidUPlG6ZoB/j+ IMMgFiHKIP2JbPUp6Fo4DGK1ueo1a8ulZYWgZvUctWqNxXrSlp126c2BVkGzEqjKHl5s vEtetf17+m8ExO2HR6hnx9drsJQLPWeduw7rBprZo9uDhuRG/NMd3YfVj3n8H11n90pH q8DzKql6Tq+2yUD7DnCBC6DZp15yi79lNbvdEALiZb9rZZnltXsFhUy1EMEDQDZ2/fGo vgCMnw3IzHbxln41JLdF9Uyv6kbWDhPq7xIma87odTLV/JE2evfpGxt70SLvqE9MGP8S BvTA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x28-20020a63b21c000000b005428e6564e2si8586981pge.245.2023.06.07.05.28.41; Wed, 07 Jun 2023 05:28:57 -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 S238787AbjFGMIU (ORCPT <rfc822;literming00@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <maxime.chevallier@bootlin.com> To: davem@davemloft.net Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alexis.lothore@bootlin.com, thomas.petazzoni@bootlin.com, Andrew Lunn <andrew@lunn.ch>, Jakub Kicinski <kuba@kernel.org>, Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>, Florian Fainelli <f.fainelli@gmail.com>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, Vladimir Oltean <vladimir.oltean@nxp.com>, Ioana Ciornei <ioana.ciornei@nxp.com>, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Jose Abreu <joabreu@synopsys.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Giuseppe Cavallaro <peppe.cavallaro@st.com>, Simon Horman <simon.horman@corigine.com>, Maciej Fijalkowski <maciej.fijalkowski@intel.com>, Feiyang Chen <chenfeiyang@loongson.cn> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768046919394131547?= X-GMAIL-MSGID: =?utf-8?q?1768046919394131547?= |
Series |
Followup fixes for the dwmac and altera lynx conversion
|
|
Message
Maxime Chevallier
June 7, 2023, 1:59 p.m. UTC
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(-)
Comments
On Wed, Jun 07, 2023 at 03:59:36PM +0200, Maxime Chevallier wrote: > 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. For the series, which brings an immediate fix to the problems people are noticing: Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Thanks!
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 7 Jun 2023 15:59:36 +0200 you wrote: > 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. > > [...] Here is the summary with links: - [net-next,v4,1/5] net: altera-tse: Initialize local structs before using it https://git.kernel.org/netdev/net-next/c/2d830f7a4134 - [net-next,v4,2/5] net: altera_tse: Use the correct Kconfig option for the PCS_LYNX dependency https://git.kernel.org/netdev/net-next/c/fae555f5a56f - [net-next,v4,3/5] net: stmmac: make the pcs_lynx cleanup sequence specific to dwmac_socfpga https://git.kernel.org/netdev/net-next/c/a8dd7404c214 - [net-next,v4,4/5] net: altera_tse: explicitly disable autoscan on the regmap-mdio bus https://git.kernel.org/netdev/net-next/c/fa19a5d9dcff - [net-next,v4,5/5] net: dwmac_socfpga: initialize local data for mdio regmap configuration https://git.kernel.org/netdev/net-next/c/06b9dede1e7d You are awesome, thank you!