Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2878499rdh; Mon, 27 Nov 2023 00:44:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2EXRTR1V47IbG1SNHI/30TTHeI/9/LBOhdBETrkG8Znb7VEpSlVBe82FEsbFupiYHZEBr X-Received: by 2002:a17:90b:212:b0:280:14ac:a6dc with SMTP id fy18-20020a17090b021200b0028014aca6dcmr9040275pjb.25.1701074661632; Mon, 27 Nov 2023 00:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701074661; cv=none; d=google.com; s=arc-20160816; b=dlRU81va4kEugSr4CKxeS6wmE5WOXqRq87AUmoV7VAoQZuahbG3ys1nHsyKfQVhDk3 8wiUlpyCjIkrptH+G5vc3ss81dmv3gr/AqWBPUJ124DLVEckPw2BTWT+qLQ/heKFBqZ4 nnFFsBdADEkuO9rxX9igte91de0ZefAXbA1Zx4Zhao/Cuap7DF6p2eF+SQCQrJmOHs48 eTZgWyWscM3iwm+Fb81IftGHSd3gvm4C6r1XO3wc5h2usdy0B7YK6VRyAurV9dIdgkom WT4VamWIoliXzy2J5wfZZ4xS7BdVgoJhRTNgWpYrE7KprSW+NIrykHpkwWT0VinPCmgt e+yg== 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=WA1izUMF049A+uaOpu99QoR6RRA3zCpzmZ7zrTZEUrY=; fh=Pwj75hNZiMgNQNhn17ZuGZIhgdvZvmvEShJkeGPd8yk=; b=BjUUcktqktD1bKFGmsljyZzmhpzhl/H+fzYrBJOXJLm39hRRJHd5xsKH2wdN2F3arT qRclYZKpj6ZaxN5G0GcOEQU76hYavUymhWvCLk1FKdrJFfAmurP5qnWDp9DD2hc6MF0+ BHtX/Ct0Hh030uwkFYaYQG/y9ZZDENMq0rTtZvhxP+AmJGgPXMMMcZjAPY3O02J9rAFr NWW0wdBjGw4LmJWC+SndeqQwVDfzkGcz60eJMSu982bH+UV1zWxSFM8z5RxMqPy3UJoH 7K10CiEi2ebTN/q7UjNPkIU6fK6H4MlQx/EbXmW23v6XaYbiW7mL73sv+isuO8gzGact KUHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=BhCfOJN+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id g7-20020a17090a4b0700b002851017a187si9176079pjh.162.2023.11.27.00.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 00:44:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=BhCfOJN+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CA993807C57A; Mon, 27 Nov 2023 00:44:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232676AbjK0IoC (ORCPT + 99 others); Mon, 27 Nov 2023 03:44:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232596AbjK0IoB (ORCPT ); Mon, 27 Nov 2023 03:44:01 -0500 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 5EC16183; Mon, 27 Nov 2023 00:44:07 -0800 (PST) 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=WA1izUMF049A+uaOpu99QoR6RRA3zCpzmZ7zrTZEUrY=; b=BhCfOJN+3BuUwuenz7TV/mQ1Jk IuNW9a/5L2VfSpwOGLEoxqyXKwrXZbLRR8948VsH+P7OpWq+H1j8fKuKj2PFzuLBpnEOGJWMzf9C4 g75/PZFBjeFvZl3jxJKvY28sqJ00e+/V1oDrxXFmTRgFyRyaHIcPmsgD9KrCDQaKtirefRSXQwDBG sPbmTQ/acpEW+rjrNRiT4VYMcYSiCde63vzxwxbsHV8i1AzrN6DDRaYlvlp3KozUrRp0zZ3hOzigX eLS8cFC7Qytd25rqkSg7Yqy4gD2nUAbU8zw9W7mZQiTW8POItIxrqy9ML89LMPGwJaY9Xdc+RChyd dmuqOVpQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:40150) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r7XDf-0005VP-0Q; Mon, 27 Nov 2023 08:43:55 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r7XDe-0001ll-KJ; Mon, 27 Nov 2023 08:43:54 +0000 Date: Mon, 27 Nov 2023 08:43:54 +0000 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Luo Jie , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, hkallweit1@gmail.com, corbet@lwn.net, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v6 1/6] net: phy: introduce core support for phy-mode = "10g-qxgmii" Message-ID: References: <20231126060732.31764-1-quic_luoj@quicinc.com> <20231126060732.31764-2-quic_luoj@quicinc.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=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 27 Nov 2023 00:44:19 -0800 (PST) On Sun, Nov 26, 2023 at 06:20:16PM +0100, Andrew Lunn wrote: > On Sun, Nov 26, 2023 at 02:07:27PM +0800, Luo Jie wrote: > > switch (interface) { > > case PHY_INTERFACE_MODE_USXGMII: > > - caps |= MAC_10000FD | MAC_5000FD | MAC_2500FD; > > + caps |= MAC_10000FD | MAC_5000FD; > > + fallthrough; > > This change seems to refer to the second paragraph, where as the rest > of the code is about the first. Or does splitting this cause a bisect > problem? I'm not sure what you're referring to here, and by over-trimming the context, this probably gives an insight into a misunderstanding. This hunk (and the next) does _not_ change what USXGMII ends up with. It moves MAC_2500FD to be under the 10G_QXGMII case from the USXGMII case, and we will _fallthrough_ from the USXGMII case into thte 10G_QXGMII case. So, USXGMII still ends up with MAC_2500FD. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!