Message ID | 20230222055043.113711-1-o.rempel@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp403224wrd; Tue, 21 Feb 2023 21:53:29 -0800 (PST) X-Google-Smtp-Source: AK7set8hCIdjXO0z6j24kh12YlwcdzDPlJnUGQx9Ewi3i/pMjh3igX38n7kmX8TcK7mGmH4q+u8X X-Received: by 2002:a05:6402:4304:b0:4ab:1db8:df45 with SMTP id m4-20020a056402430400b004ab1db8df45mr7411200edc.8.1677045209501; Tue, 21 Feb 2023 21:53:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677045209; cv=none; d=google.com; s=arc-20160816; b=IQO9IY7rOsRpoTmMFWRmtw8G+JrYjcOIpwManP/wIXNiTcE1F2jQ0piiPUJsALElHa KJG8Poes/L4+6gEBnm3ByB5X8StYYWe2AnSUsdKbwX/xoYLqE5kVUFGomJLAcpHjU/3v XgXgfQka+SJfUFzHD7BNMeIf0CcTMAxwwl40GKP9WPqyneksDdwpWMM5w0tdkYM24SPc DOc3L/iFDamy+jbXIFK+xsU8Nyc0rOtQgnZ+LNAaM48jOA7Iqo/Ewq34DF8sL+0ri2bd xTpXC9Jwz6LQkGYShXnZpOPfh0Zf2u8lTzRzSD0xZVrGoQxFc1kuGzDXBbvJw9oJYlg3 OC1g== 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; bh=eJi3ZLjfrBe3d3i61oEN8BkFvG5VwzdlFcs/aabg8CQ=; b=VyXj3EUixVfOiokfRVE5zc60idysVT5IHdOuPAnYttnSAA73NVDLKAy4nBwaPrNQXf Xl711g/ceZX/GlTMVMVvKWfcMyMTD1krNEbND+CgLibIWt8ZraWeaqCSoz3Rso/6nd7V CnAybCkd4jBAg/YffJLbQ+sMuQnLyTvkA2mf8ZxXGppYNCRq4s1lH/ZxBVVqA8iP/S/N QTEg4sJoI9m4GiXmHJSXPef+5OpBxmJDLMDd1+pXt7AgJ9lt+ALp8hTxSWFXSS311uil JKO46HkXTJG+YOjqCi/S9Hfl7XGkIaxvf//Pj/av0U5N7v9sRYG/p0dWBm/w9zpDl46w oNUw== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6-20020aa7d146000000b004ab25817358si21097676edo.251.2023.02.21.21.53.06; Tue, 21 Feb 2023 21:53:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbjBVFvC (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Wed, 22 Feb 2023 00:51:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229901AbjBVFu7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Feb 2023 00:50:59 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF63131E22 for <linux-kernel@vger.kernel.org>; Tue, 21 Feb 2023 21:50:57 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ore@pengutronix.de>) id 1pUi1g-000608-6R; Wed, 22 Feb 2023 06:50:48 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1pUi1d-006efZ-Dm; Wed, 22 Feb 2023 06:50:46 +0100 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <ore@pengutronix.de>) id 1pUi1d-000Tb0-Fd; Wed, 22 Feb 2023 06:50:45 +0100 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Russell King <linux@armlinux.org.uk> Subject: [PATCH net v333 0/4] net: phy: EEE fixes Date: Wed, 22 Feb 2023 06:50:39 +0100 Message-Id: <20230222055043.113711-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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: <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?1758509357235870822?= X-GMAIL-MSGID: =?utf-8?q?1758509357235870822?= |
Series |
net: phy: EEE fixes
|
|
Message
Oleksij Rempel
Feb. 22, 2023, 5:50 a.m. UTC
changes v3: - add kernel test robot tags to commit log - reword comment for genphy_c45_an_config_eee_aneg() function changes v2: - restore previous ethtool set logic for the case where advertisements are not provided by user space. - use ethtool_convert_legacy_u32_to_link_mode() where possible - genphy_c45_an_config_eee_aneg(): move adv initialization in to the if scope. Different EEE related fixes. Oleksij Rempel (4): net: phy: c45: use "supported_eee" instead of supported for access validation net: phy: c45: add genphy_c45_an_config_eee_aneg() function net: phy: do not force EEE support net: phy: c45: genphy_c45_ethtool_set_eee: validate EEE link modes drivers/net/phy/phy-c45.c | 54 ++++++++++++++++++++++++++++-------- drivers/net/phy/phy_device.c | 21 +++++++++++++- include/linux/phy.h | 6 ++++ 3 files changed, 68 insertions(+), 13 deletions(-)
Comments
Hi, On Wed, 2023-02-22 at 06:50 +0100, Oleksij Rempel wrote: > changes v3: > - add kernel test robot tags to commit log > - reword comment for genphy_c45_an_config_eee_aneg() function > > changes v2: > - restore previous ethtool set logic for the case where advertisements > are not provided by user space. > - use ethtool_convert_legacy_u32_to_link_mode() where possible > - genphy_c45_an_config_eee_aneg(): move adv initialization in to the if > scope. > > Different EEE related fixes. > > Oleksij Rempel (4): > net: phy: c45: use "supported_eee" instead of supported for access > validation > net: phy: c45: add genphy_c45_an_config_eee_aneg() function > net: phy: do not force EEE support > net: phy: c45: genphy_c45_ethtool_set_eee: validate EEE link modes > > drivers/net/phy/phy-c45.c | 54 ++++++++++++++++++++++++++++-------- > drivers/net/phy/phy_device.c | 21 +++++++++++++- > include/linux/phy.h | 6 ++++ > 3 files changed, 68 insertions(+), 13 deletions(-) > @Russel: I read your last reply to the v2 series as an ack here, am I correct? Thanks! Paolo
On Thu, Feb 23, 2023 at 10:23:20AM +0100, Paolo Abeni wrote: > Hi, > > On Wed, 2023-02-22 at 06:50 +0100, Oleksij Rempel wrote: > > changes v3: > > - add kernel test robot tags to commit log > > - reword comment for genphy_c45_an_config_eee_aneg() function > > > > changes v2: > > - restore previous ethtool set logic for the case where advertisements > > are not provided by user space. > > - use ethtool_convert_legacy_u32_to_link_mode() where possible > > - genphy_c45_an_config_eee_aneg(): move adv initialization in to the if > > scope. > > > > Different EEE related fixes. > > > > Oleksij Rempel (4): > > net: phy: c45: use "supported_eee" instead of supported for access > > validation > > net: phy: c45: add genphy_c45_an_config_eee_aneg() function > > net: phy: do not force EEE support > > net: phy: c45: genphy_c45_ethtool_set_eee: validate EEE link modes > > > > drivers/net/phy/phy-c45.c | 54 ++++++++++++++++++++++++++++-------- > > drivers/net/phy/phy_device.c | 21 +++++++++++++- > > include/linux/phy.h | 6 ++++ > > 3 files changed, 68 insertions(+), 13 deletions(-) > > > @Russel: I read your last reply to the v2 series as an ack here, am I > correct? Yes - I've just given two r-b's as well for the last two patches. Thanks.
Hello: This series was applied to netdev/net.git (master) by Paolo Abeni <pabeni@redhat.com>: On Wed, 22 Feb 2023 06:50:39 +0100 you wrote: > changes v3: > - add kernel test robot tags to commit log > - reword comment for genphy_c45_an_config_eee_aneg() function > > changes v2: > - restore previous ethtool set logic for the case where advertisements > are not provided by user space. > - use ethtool_convert_legacy_u32_to_link_mode() where possible > - genphy_c45_an_config_eee_aneg(): move adv initialization in to the if > scope. > > [...] Here is the summary with links: - [net,v3,1/4] net: phy: c45: use "supported_eee" instead of supported for access validation https://git.kernel.org/netdev/net/c/e209519b6233 - [net,v3,2/4] net: phy: c45: add genphy_c45_an_config_eee_aneg() function https://git.kernel.org/netdev/net/c/b6478b8c9330 - [net,v3,3/4] net: phy: do not force EEE support https://git.kernel.org/netdev/net/c/3eeca4e199ce - [net,v3,4/4] net: phy: c45: genphy_c45_ethtool_set_eee: validate EEE link modes https://git.kernel.org/netdev/net/c/186b1da76b72 You are awesome, thank you!