Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11962536rwd; Thu, 22 Jun 2023 22:41:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Qj5a1bSfZd4kS3QveIENFyU4rhvGtmDx1c1kwZeeu5LvKZITckNfRGxlPQGR8L4NBRltx X-Received: by 2002:a05:6a00:18a6:b0:66a:6298:5887 with SMTP id x38-20020a056a0018a600b0066a62985887mr5104325pfh.6.1687498895026; Thu, 22 Jun 2023 22:41:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687498895; cv=pass; d=google.com; s=arc-20160816; b=RD+GIKy3NU5ABy/BEo7T5rSL0dJj3XekiQpQV7PCDW1l1VH0EcjgSVqzZYsDC+Q/ST fk7F7bWwC1DxOSLI7DEvJ2tSwnIGl5re3yhLJiJmzJOLMyJGqz+zYE972DQPPgUXU+ZW ui/T2jgskYQABfTeMj/bMdZiQYm1sSDS/XDZ2z08a4I97NHPREIS9OfaFdB5K3KYyz6Q FJ036G9J7TzHdJQHPUXsVRrW+FVjMgrV/r/sdwX73uA8IIgxCeydqkUuj5ckMehZoxXu vVsCXKqwjZtNKaGnP5HWpgdQwJcEqrvePz4GNrfKiEhFifXPI+2WWZAyom3br16mjhoJ uzHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SGZSgp8e/Grrx6f1aSYwPhf6PzEMntVO8jAK8Tq7EdY=; b=V19yKXgthrLMzaWkS41hS2xHPZUURdEqr1iHiaY/5q4Z+MPM4zlNp0oC7XkI36AOjC Q0gZbn4FTe+dzKNkoSbuh9gOZg+mxc5MPYQajb8LpWzbIl7HYOk/H37DjApZVxDJiY58 8oZccrXGPqlyCKjgcoCvwcv5+wyTSjGYI+MCgoAHkXFhLbinVrLi64Vx6mWmv6LVQevP FLE5mlC7F1o+JhjQ6CLNXUOsYcZEVIIlulRoTtRvWGqdLj+K+dFkwSvU/3Go1AIqVZNO SmnWo2t62uc+O6UB6dti9eiq8gFiB2lnHq22uZktv07vTPzQccQampv1raYO1lOvsVgr 4b9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=nGpXozRC; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020aa79e9a000000b00665bd58cd5fsi4986804pfq.11.2023.06.22.22.41.22; Thu, 22 Jun 2023 22:41:34 -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=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=nGpXozRC; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbjFWFgM (ORCPT + 99 others); Fri, 23 Jun 2023 01:36:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbjFWFgJ (ORCPT ); Fri, 23 Jun 2023 01:36:09 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2100.outbound.protection.outlook.com [40.107.237.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 936271A4; Thu, 22 Jun 2023 22:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e7r+h988TkrLeIagYgR5bJCSAOaUPCS7Ew4NsOS8hUh3OH5BiDvwU8JF6m0La0WmerBoA+lEFCGP5zhLzFHRQ62+REk+k0S0puyvhQ4FX1P7uTx4IK4YlDMavzrtxmmPJ+HoD82u2BFBJgyCxTrWdYn+3cRYoy+wl6bR4yDuVGu/LZQH1k2o2pegrb3IsO5Qm4fZvsqwEPrLGe9pdwdh/RV9MfG7lUGU+mZMw3AgcZYAVc7KmjSkUjjHTEnjVGcGdKuWyVOxfuAnBVT/63yccx3GdGSz9MLQ4SXsjoqlasQWBLvZnPaKPO0hVnMJnYMb49uOxYGTPtYEZTP/2BtMGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SGZSgp8e/Grrx6f1aSYwPhf6PzEMntVO8jAK8Tq7EdY=; b=jp2b36jXm40og1cK7m2tVo0G0HiFaZTKwq5XkgNetHhkoiIU3o0mqza92/nrsW7sJyRsVLZ/iNO9qnK5CLm2rw4rffCpqfGXZzR1gkoIElTpbl+c0X58NmqM0dlVre8BGpw9B6RwrS+KYy8vYI/ml0GxuPLbB9no59BuDZCpiK+OUkrX5B/91DLcIhqA7o/RxE6LRMESDGedIdeOuzruAhKevGr+AM7cRljXQqFmmn6CeuuDxkve8/Yyll38N6NrSW3GJH/PSJ1GzKu7fOs+yAJ77iBYu6CSZ8ZjZYzyhGYmFf9eWzkoOjslnSgoxyijjc0/ZJMePteX+lL1qSCACQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SGZSgp8e/Grrx6f1aSYwPhf6PzEMntVO8jAK8Tq7EdY=; b=nGpXozRCBhPYrgrCgk19WAAP9fieFyg6gBeC/UrXJJxuP82jfhlxu7b6IPA/0+/oBqWTntlqK3EaudpgZoG5D6s0pZXeY3bFjPuNhQ8TfmmC6I4w8D5lmKGI99dKmdZxFTgm+8AcHuWumAqmQPQLkovWQ34u0AuHPyIuuuYkTPA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by SA3PR13MB6394.namprd13.prod.outlook.com (2603:10b6:806:380::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Fri, 23 Jun 2023 05:36:03 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::eb8f:e482:76e0:fe6e]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::eb8f:e482:76e0:fe6e%5]) with mapi id 15.20.6521.023; Fri, 23 Jun 2023 05:36:03 +0000 Date: Fri, 23 Jun 2023 07:35:51 +0200 From: Simon Horman To: "Russell King (Oracle)" 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 =?utf-8?B?QmVow7pu?= , 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> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: AM8P189CA0019.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:218::24) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|SA3PR13MB6394:EE_ X-MS-Office365-Filtering-Correlation-Id: fae67e4c-49ce-470c-3043-08db73abbbde X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fuMPQVyrfDifQvOtTSRM8r5BONnSYWfk/5aknEo3ywGKNg9WO17Jw+teUo6p1H0hW/3IG3UikSM/QtDVnz0LVRU4kN+k/aNW/KGbWgeoU0dsC/2Q7duEohZFRU1XZQkutqAytYR/xh5kgkcc2bCq60PYBTxq4GvOSp8iHo996zSfCl/i4//QC5fGxyuYtb68Cr2SYmP50yrQ0dPx0lh1KvgFF19SOFIQz8bUb2CYwVpwMEmqM4Lm0sAEDYaW/re1jGH3JI4xOc5Ly1vh1o53S0uObvmERGu2LMGGEkllwxsGduone6sby/D5sjMBmkIOT9wApJXjcnQFXbjZa0b62XGjqGmhHzSH/tED/SYi1svsqxiZt8vQqPn56mmutCjZK9T7OKZql2oEZ1A/b4Lor5gO+BY9nnboQyxd9Lj3dz1itwzEIBQbnSIjtbknZ4Kz98+Vm7GHp0Oc+SMXtq5vIr4vUgG6PpvMU6SrJ8qpbp2izjVOEBbC3Bb0zWy2IpdLnRdizKVhIuIzxq0M0xO7AnRtwC2uW9Tyx2DlaJbhVzeSVozsUL6a1MJJNVJk4MO1dAEg8y3z4O2GYJSKCQPo+f10RoovK5ccRPAT7M32NUA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(39840400004)(376002)(346002)(136003)(451199021)(4326008)(2906002)(478600001)(54906003)(86362001)(6486002)(316002)(6666004)(41300700001)(38100700002)(83380400001)(66946007)(36756003)(6916009)(66556008)(66476007)(2616005)(6512007)(8676002)(8936002)(6506007)(7406005)(15650500001)(7416002)(44832011)(186003)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bZn4jy0oQOUwGRbY8LuQSSx7iK22lpGwEA6Ro0pvUxd8/ytUYTfRRxXDquhR?= =?us-ascii?Q?Yyb+6P7D9g2RoB9q9RPYWNcbVFjZGnZo3mnpmnyR1czdd72jF4+hnlNc+JT+?= =?us-ascii?Q?AE4Ztm39LuSyKRlHpHCgffJJEIR4mFAmiTNsmdqibSeB+FQRgJcF1D3jYFFR?= =?us-ascii?Q?LaYygLrAZXU2tXdtYG6GNvKCJz4SBdUhlNEmTa2GxN7+NYSJ27ePtgDCh37h?= =?us-ascii?Q?+WnflBPqoN+W+jD5lOEpOPBE/SR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hlFbFvl3vVFmq9mzzkKMogHZ0ZfnHaGInZQ3YT/agatGVQ5O?= =?us-ascii?Q?cRUgoxwN/S2hNadTfEJkXem4ff1gx+1ySn87t4HVLo7G8Tnt4Va0uPUyo2wF?= =?us-ascii?Q?o3lUYKsxtJl0j26gNbiaymlOmgxLM+6ahcIoE9gMOOWwRGOD4Xih/zuTwzej?= =?us-ascii?Q?DCTOX1C7SjbGFhes7ebK+WcDvjcvjuk0iguD+spD09pyUQr47QSJngwEc/t5?= =?us-ascii?Q?DutNMsxJ9sVALP09gqWeeEyYNMAfBLw8PDp+cVkYVNj4yhBsOU8mwOhc82I7?= =?us-ascii?Q?/ZM8hVOaAWSmzoJ8ejPITpCq0ubSyk70k+SJi/Plnu3Ka3KeMRDVIWboKAXt?= =?us-ascii?Q?raNocpHHpCQSQnfbNHdRavVXn1nOy+oUJ+swT3zqfZCnKMHKoQNVfcUt49nI?= =?us-ascii?Q?f8+gVAxLYOjxt9tDgi8DrUHcwq6D33m9Cs7zvMACDK/1tXsHXqEk7V0qJ0Sq?= =?us-ascii?Q?wM+o6BBAzlkHtlIc57d7sIHpu4MkYqDKmKzuqmxtX4IODaXAv8F7TAKorPoQ?= =?us-ascii?Q?kraCyg=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: fae67e4c-49ce-470c-3043-08db73abbbde X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2023 05:36:03.4226 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MRg0Xp1Gs6cyLsftAAoxWmIHl8zzqxxQ05EA5Oe9y5sd4RRH+TS6t6vwMKyQIFIwW+FKWA6PRRY10V5KYLN5IJUPrAJoLMpPmbag6JQ4Yao= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR13MB6394 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 On Thu, Jun 22, 2023 at 04:06:31PM +0100, Russell King (Oracle) wrote: > 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? Hi Russell, Sorry for not noticing this myself. I agree that we should wait for a properly formed post as you suggest.