Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7197741rwd; Tue, 6 Jun 2023 07:35:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Wp7EbsNt6TQwhg2w/J7UXrD0UI+SZ+h33Pw9DYnc+/EiIKkCTP+DpihppAHJSTHc/NB/I X-Received: by 2002:a05:6214:27ca:b0:625:86ed:8aab with SMTP id ge10-20020a05621427ca00b0062586ed8aabmr2148432qvb.14.1686062136466; Tue, 06 Jun 2023 07:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686062136; cv=none; d=google.com; s=arc-20160816; b=vJH8wGp7DEOgfmdqIf35Cu0BaLMrroOoFwKZiNTmN5StpF71NXoZzItI2FFlJZQoht a+6hfWWpHACivNmJwyNxVUSTptYUZmk9NU4qNPLB+fHZYtvKzZMX13ED9uC9/UwgvMA4 cR3XdCzTB40amXtMxKYtikS2RRDtdBub1l23APcJxWH78mZaGslw/v1stjwMWMU/44n2 zUzymsEGPcd2bitGruaoRZkah9bcd1i4U2SzdhQ68WAvC8iC8+6jd7xVJraFzQWYLos+ DX2/dnogviSALtPSEIY+5HvfPcZbiU7mQWqfMVzLU7l0/99nxkrjMMycWOFrAUNA9JMr QIHQ== 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=0t7vCoDVyHCVRpFFeRRHKOJSt4buQfDPbfcgodci2/g=; b=u7UBBUugFnfPf1wAJfKR8gTGOe9PjNasvnCOsKZqGerw0oosAoblodhQMjBYngsUMn 3KkiCdJE/k1BGZ0FQwnBNUwKhS1bcPsOBr1V1LQ8oTZ3mGZ0jpI2KzhQzqU/Z4WEDKHy RCptBnW+9dX7ELG0GCBwZwH5sAHHhwiEom5+ctGKPx1Ir7lNqif2JnjPKeQskbqQgDIs QoDUs+jZL2GkPkzxH2Jww+01fkBEBKns0LzjpqjGzw1GZN3uaIdodiKdrAUbwS8RC4ax Izez+gO61tMjn7nWDmz+6IowGHLO4vgbyr66r1IGvT/TMn5jS89hbC23dBrHYwMtlfsQ xcUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Otets2Fx; 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 jt13-20020a05621427ed00b006282bea2b3fsi6255124qvb.371.2023.06.06.07.35.20; Tue, 06 Jun 2023 07:35:36 -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=Otets2Fx; 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 S237507AbjFFOV6 (ORCPT + 99 others); Tue, 6 Jun 2023 10:21:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236597AbjFFOVz (ORCPT ); Tue, 6 Jun 2023 10:21:55 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B94F10DE; Tue, 6 Jun 2023 07:21:49 -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=1686061307; 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=0t7vCoDVyHCVRpFFeRRHKOJSt4buQfDPbfcgodci2/g=; b=Otets2FxZ6YC88+Kr8E458uM6KI2S7033D4zHHmnZL5Hxe9rKBOhhd+zAM13BXEE/EkA5x 8r8+XAhryxr3Swo2NHKuvmO/XKHWtOn5Fj+T21kxDfrWi9JyVLDI044iMe1lMLxhPc/57x msBDKmYXFW3M1OmkhJdGSEHk/sjr1ajbHl5vZHBgJBkgcbdKmeki0EsDJ3ewjVUesGsGHW vP8cFmRUH21u0XqWbYQQQx22/21u5JdFhWh048WANhHtWS36j9RlncVqXyou9Px93Toxl0 RA5J0VgUHinnIPEbX6e/Ey0KHUjyu9vdg+1Impu53Lo3axJCd4mIBMr0CHCmuQ== 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 7FD25C0013; Tue, 6 Jun 2023 14:21:45 +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 Subject: [PATCH net-next v2 0/3] Followup fixes for the dwmac and altera lynx conversion Date: Tue, 6 Jun 2023 16:21:41 +0200 Message-Id: <20230606142144.308675-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 Following the TSE PCS removal and port of altera_tse and dwmac_socfpga, this series fixes some issues that slipped through the cracks. Patch 1 fixes an unitialized struct in altera_tse Patch 2 uses the correct Kconfig option for altera_tse Patch 3 makes the Lynx PCS specific to dwmac_socfpga. This patch was originally written by Russell, my modifications just moves the #include around, to use it only in dwmac_socfpga. Maxime Chevallier (3): net: altera-tse: Initialize the regmap_config struct before using it net: altera_tse: Use the correct Kconfig option for the PCS_LYNX depenency net: stmmac: make the pcs_lynx cleanup sequence specific to dwmac_socfpga drivers/net/ethernet/altera/Kconfig | 2 +- drivers/net/ethernet/altera/altera_tse_main.c | 1 + drivers/net/ethernet/stmicro/stmmac/common.h | 1 - .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 15 ++++++++++++++- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 3 --- 5 files changed, 16 insertions(+), 6 deletions(-) -- 2.40.1