Received: by 2002:ac8:3b51:0:b0:3f3:9eb6:4eb6 with SMTP id r17csp5094035qtf; Thu, 22 Jun 2023 08:15:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7zG1nLYXw4KLU+180wQFQMiJCE+Y4lsdIRQRhczhlJn9w1ExTZ5HiFW32kdbHOE0834z+R X-Received: by 2002:a05:6a00:3919:b0:643:aa8d:8cd7 with SMTP id fh25-20020a056a00391900b00643aa8d8cd7mr14428742pfb.32.1687446932671; Thu, 22 Jun 2023 08:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687446932; cv=none; d=google.com; s=arc-20160816; b=fqR9jJmfTT70FR0Dnr3eFmik4oiZopjWVvS3xIrxABBY+70lLj9dfS2zheRZQjANkc 3PIdUfU/cj4TtcuZmbgZuSvvkZ/5yGXMfXjQXoi68xWB+a2tNIr0lESnr0M47KsmPZGZ l+AigDWO3wcEUWTQN7KIoiPRyO9iPRcuTAxT8ghlOoccwmW8iEclFHefPTXoFbjCBLwC REZEQ+IAX/w+hpgssMzjbNc9h7jl9aMKK81eEaxjfYXcpi7L5wXCrESFMngpfxW7tZQO 9pgB4b3wAh1Cag0zyCau3S7HPUJg9IGtl/wrxSD/6Z+58IXdUTZtl8uwyOKwTbEKdJBr InOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8TPy4M/IgqT8baUzBBF1Ot9HCGGq63OZ2dRMS9U2qEs=; b=yPbNC+SqiTJDsmz4UnmjN5m2S+OoPiTQkt4rSf+y7mMxYs43SPLKBI1/aTG3ke3blz 7EEzIX0IOj++C8AmHmbUbg4ZcUMR4Io1q8c5cXqm2INB0ZaiBPX1XAyWcZDX68wNlRPZ XNjhTYIfq7s8MXeTXM3qf3o+gBwz5mlmGOyhgY0B333XgDEmLQikR/JDh3MqvUIchnR3 a5X7iTi6YzYVRIAJQvkNvNg4dku3IGD0AgDjdBn5lQnC4JpFg/o7fdfUb38CAGf+j0Wz t6yDTFStojTH7IDUAAabWZ82nFxOKFq8o9ELhP4WVFxXoh6c3FinMpDO/om/fLYgbFNj CsiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=hr+LCn33; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z184-20020a6265c1000000b0066876264e5bsi6583397pfb.91.2023.06.22.08.15.12; Thu, 22 Jun 2023 08:15:32 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=hr+LCn33; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232167AbjFVPH5 (ORCPT + 99 others); Thu, 22 Jun 2023 11:07:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232267AbjFVPHz (ORCPT ); Thu, 22 Jun 2023 11:07:55 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C07391731; Thu, 22 Jun 2023 08:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8TPy4M/IgqT8baUzBBF1Ot9HCGGq63OZ2dRMS9U2qEs=; b=hr+LCn33yjNicFl80hCKAgwrYa 93pDGSYl0/5FwW8xGbJb8Bzwztin6lA17hYELqtlfCGcjrfacnkQeDW1Lnhs4p6Yp9NR9LNSd0rby dueuqWRwCA/tDevppb+kFIH3iP5TedRM6dFD9YtjJX/8Ws4z3nGPQtt/kPtZ3e1NnRrVf76+qMMas 62BEzt/rZsSylnXlBn0qSGDCDDv9NEhrrUizNFGFJRep32eCpFzYECJyP8A5b3s7RW+cRqYqeWdnp VDJTdWx8a7knGFAp2YasyuIJXY4IANgHDg2DsKL018BtVc64glMoFn4kujqH487kklA3eYmyQy7u1 E9hIGVdw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:43762) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qCLtO-0004OW-29; Thu, 22 Jun 2023 16:06:38 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qCLtH-0000Wx-N7; Thu, 22 Jun 2023 16:06:31 +0100 Date: Thu, 22 Jun 2023 16:06:31 +0100 From: "Russell King (Oracle)" To: Simon Horman Cc: Choong Yong Liang , Rajneesh Bhardwaj , David E Box , Hans de Goede , Mark Gross , Jose Abreu , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marek =?iso-8859-1?Q?Beh=FAn?= , Jean Delvare , Guenter Roeck , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Richard Cochran , Philipp Zabel , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Wong Vee Khee , Jon Hunter , Jesse Brandeburg , Revanth Kumar Uppala , Shenwei Wang , Andrey Konovalov , Jochen Henneberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org, bpf@vger.kernel.org, Voon Wei Feng , "Tan, Tee Min" , Michael Sit Wei Hong , Lai Peter Jun Ann Subject: Re: [PATCH net-next 3/6] net: phy: update in-band AN mode when changing interface by PHY driver Message-ID: References: <20230622041905.629430-1-yong.liang.choong@linux.intel.com> <20230622041905.629430-4-yong.liang.choong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On Thu, Jun 22, 2023 at 04:43:51PM +0200, Simon Horman wrote: > On Thu, Jun 22, 2023 at 12:19:02PM +0800, Choong Yong Liang wrote: > > From: "Tan, Tee Min" > > > > Add cur_link_an_mode into phy_device struct for PHY drivers to > > communicate the in-band AN mode setting with phylink framework. > > > > As there is a mechanism in PHY drivers to switch the PHY interface > > between SGMII and 2500BaseX according to link speed. In this case, > > the in-band AN mode should be switching based on the PHY interface > > as well, if the PHY interface has been changed/updated by PHY driver. > > > > For e.g., disable in-band AN in 2500BaseX mode, or enable in-band AN > > back for SGMII mode (10/100/1000Mbps). > > > > Signed-off-by: Tan, Tee Min > > Signed-off-by: Choong Yong Liang > > ... > > > diff --git a/include/linux/phy.h b/include/linux/phy.h > > index 11c1e91563d4..c685b526e307 100644 > > --- a/include/linux/phy.h > > +++ b/include/linux/phy.h > > @@ -756,6 +756,8 @@ struct phy_device { > > /* MACsec management functions */ > > const struct macsec_ops *macsec_ops; > > #endif > > + /* For communicate the AN mode setting with phylink framework. */ > > + u8 cur_link_an_mode; > > }; > > Hi Choong Yong Liang, > > Please consider adding cur_link_an_mode to the kernel doc > for struct phy_device - which is above the definition of struct phy_device. This looks like it's grabbing something from phylink and stuffing it into phylib. However, I have no idea, because I don't seem to have received the original patches. I'm guessing the reason is: 2023-06-22 05:21:24 1qCBoy-0003ji-G9 H=mga03.intel.com [134.134.136.65]:57703 I=[78.32.30.218]:25 X=TLS1.2:ECDHE_SECP521R1__RSA_SHA512__AES_256_GCM:256 F= rejected after DATA: unqualified address not permitted: failing address in "Cc:" header is: Tan Which I suspect came from: Tan, Tee Min and someone doesn't realise that a "," in the display-name part of an address *must* be quoted, otherwise "," is taken to be a separator in the address list. Consequently, it has now become: Tan@web.codeaurora.org, Tee Min , It should have been: "Tan, Tee Min" with the double-quotes. Please do not review this series further, but instead, please can the author repost it forthwith with correct conformant headers so that a proper review can be undertaken by all? Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!