From patchwork Thu Jan 12 15:15:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 3920 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3943523wrt; Thu, 12 Jan 2023 07:28:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXv8fTrfZ8V0oqx7K9JUhUr+LLKuzWJ5WBkj2LslLlgPF7UVmETZpJaeGmRH2V72XfCA4tGS X-Received: by 2002:a05:6402:1f09:b0:478:8375:5dd5 with SMTP id b9-20020a0564021f0900b0047883755dd5mr62880222edb.24.1673537285844; Thu, 12 Jan 2023 07:28:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673537285; cv=none; d=google.com; s=arc-20160816; b=yCsD2U3qW0RUY7fahpFktvPXLhju7Ism11YfigrdFE7d/mlkc1UoWqpRoxCZ8IqbYT Yxe6eRp3Jrs4wgIU/DZoajuIv03e/KVx/ieGl6KmNzoGSuH4doqXR+5BvvKp8OfiJof/ cCGiJsTCFlme6/FjtNQduGlBUfBIcPSJPyEMWMvn/0vKgjAfdtTJ4aVti7t4m3KG1laV jnTZqmvb+HtzJYdLOcXXoTsvGcMIVf/fyZjQ2JZW0Xw2tRmwy85hFG7YUetFYC20yQeI SxkDF+tCHViKEGpHSj/kvQfdyFn+JFyj6ilXeP0802VW3kZRU0AR5zjPG6l7VXFsOjUU K7CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=Z7B4pND5e+QR5QtoQ7I5oChkxQuHHA20+0hEeYmGTgM=; b=f/orZIvIYK8ZFW7KyQqaH4Ha5tPNwVrrc0fSSoyGbjUiCMKpvfWcu7FVeR2bP6Zj1s /mLLZ4Jhpt+e2tROrdgW+MOjZCxhrWGJbfj7ypRycUjUgI7fmF7+PI+B6rgB7b3vryo6 ArP0UZ4+JElhKI/xzEXjnG+FDSVDzSY5qeIhokRQfA9T1QXnwABMOl9I/4v7MIS58PFz qrUf7CESezzKjOFPsWZ1dechbdg6Q+HWXLAh24IwUDZFJAZyNoa1Q6TJVRoa3r26hiwb 3fumXKxjxzY4XUuY488twQIeiDU2cujbUEGB2vx6iOHbrhCV9aRNqiZtD5auGHuNkCzb CA5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=u49FS3Dk; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a056402355400b0048c0b5672cesi20834401edd.552.2023.01.12.07.27.39; Thu, 12 Jan 2023 07:28:05 -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; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=u49FS3Dk; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbjALPXZ (ORCPT + 99 others); Thu, 12 Jan 2023 10:23:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234943AbjALPWx (ORCPT ); Thu, 12 Jan 2023 10:22:53 -0500 Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B64017418; Thu, 12 Jan 2023 07:15:25 -0800 (PST) Received: from mwalle01.sab.local (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 17DAF1243; Thu, 12 Jan 2023 16:15:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1673536523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z7B4pND5e+QR5QtoQ7I5oChkxQuHHA20+0hEeYmGTgM=; b=u49FS3Dk9qDfluXiGp9TkmisU6Qu5EvwZeqGdovxab6dVxup2BRDNMldkVcrzwCEAfpQAO ZqMoR10rIPYiZXZgHEfpSBuByb641u4TLay6c3YIfCdpyyraN3BAKHkEcEFVIkadRUCeaH NhRHm0VW+4rqcCspn5gc2CDfsZ3V9+V77PoUo5/EbEgb2mqudJB6j2SVDvbwlriGHsQVNE g+ewd5Nm+se/6Xbqu+vFAXV0+H4iY4LjVWzQ14ymHNqNk0p3sf4brIiS32qqEmA3kq2MDu 6wV/2+U3EUaZghtv6GX3t0E72N3yCT7u78d3h0OeNauAyUvteuYApMHhmZ3Iug== From: Michael Walle Subject: [PATCH net-next 00/10] net: mdio: Continue separating C22 and C45 Date: Thu, 12 Jan 2023 16:15:07 +0100 Message-Id: <20230112-net-next-c45-seperation-part-2-v1-0-5eeaae931526@walle.cc> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPsjwGMC/zWNwQrCMBBEf6Xs2YVuTLX4K+Jhk25tDsawG6RQ+ u+mgoc5PIZ5s4GJJjG4dRuofJKld25Apw7iwvkpmKbG4Hp37okcZqkta8XoBzQpolzbBgtrRYcU xjkE8v4yXqFJAptgUM5xOTQvtip6FEVlTuvv+Q5/KTz2/QtSEQk5kwAAAA== To: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ray Jui , Scott Branden , Broadcom internal kernel review list , Joel Stanley , Andrew Jeffery , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , Matthias Brugger , Bryan Whitehead , UNGLinuxDriver@microchip.com, Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , Florian Fainelli , Li Yang Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linuxppc-dev@lists.ozlabs.org, Andrew Lunn , Michael Walle X-Mailer: b4 0.11.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754831033252602999?= X-GMAIL-MSGID: =?utf-8?q?1754831033252602999?= I've picked this older series from Andrew up and rebased it onto the latest net-next. This is the second patch set in the series which separates the C22 and C45 MDIO bus transactions at the API level to the MDIO bus drivers. Signed-off-by: Michael Walle  To: Heiner Kallweit To: Russell King To: "David S. Miller" To: Eric Dumazet To: Jakub Kicinski To: Paolo Abeni To: Ray Jui To: Scott Branden To: Broadcom internal kernel review list To: Joel Stanley To: Andrew Jeffery To: Felix Fietkau To: John Crispin To: Sean Wang To: Mark Lee To: Lorenzo Bianconi To: Matthias Brugger To: Bryan Whitehead To: UNGLinuxDriver@microchip.com To: Giuseppe Cavallaro To: Alexandre Torgue To: Jose Abreu To: Maxime Coquelin To: Vladimir Oltean To: Claudiu Manoil To: Alexandre Belloni To: Florian Fainelli To: Li Yang Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-aspeed@lists.ozlabs.org Cc: linux-mediatek@lists.infradead.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linuxppc-dev@lists.ozlabs.org Cc: Andrew Lunn Signed-off-by: Michael Walle --- Andrew Lunn (10): net: mdio: cavium: Separate C22 and C45 transactions net: mdio: i2c: Separate C22 and C45 transactions net: mdio: mux-bcm-iproc: Separate C22 and C45 transactions net: mdio: aspeed: Separate C22 and C45 transactions net: mdio: ipq4019: Separate C22 and C45 transactions net: ethernet: mtk_eth_soc: Separate C22 and C45 transactions net: lan743x: Separate C22 and C45 transactions net: stmmac: Separate C22 and C45 transactions for xgmac2 net: stmmac: Separate C22 and C45 transactions for xgmac enetc: Separate C22 and C45 transactions drivers/net/dsa/ocelot/felix_vsc9959.c | 6 +- drivers/net/ethernet/freescale/enetc/enetc_mdio.c | 119 ++++++-- .../net/ethernet/freescale/enetc/enetc_pci_mdio.c | 6 +- drivers/net/ethernet/freescale/enetc/enetc_pf.c | 12 +- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 178 +++++++---- drivers/net/ethernet/microchip/lan743x_main.c | 106 ++++--- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 331 ++++++++++++++------- drivers/net/mdio/mdio-aspeed.c | 47 +-- drivers/net/mdio/mdio-cavium.c | 111 +++++-- drivers/net/mdio/mdio-cavium.h | 9 +- drivers/net/mdio/mdio-i2c.c | 32 +- drivers/net/mdio/mdio-ipq4019.c | 154 ++++++---- drivers/net/mdio/mdio-mux-bcm-iproc.c | 54 +++- drivers/net/mdio/mdio-octeon.c | 6 +- drivers/net/mdio/mdio-thunder.c | 6 +- include/linux/fsl/enetc_mdio.h | 21 +- 16 files changed, 766 insertions(+), 432 deletions(-) --- base-commit: 0a093b2893c711d82622a9ab27da4f1172821336 change-id: 20230112-net-next-c45-seperation-part-2-1b8fbb144687 Best regards,