Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp596915rwl; Wed, 12 Apr 2023 01:02:36 -0700 (PDT) X-Google-Smtp-Source: AKy350aMs3a5wR0fLgDb61fLFFzezZ5IZ6chPDZpE96P60KzfbQdug9GwN6btG1NYBb2+Of5dBs5 X-Received: by 2002:a17:90b:4acf:b0:23f:35c8:895 with SMTP id mh15-20020a17090b4acf00b0023f35c80895mr7753332pjb.32.1681286555851; Wed, 12 Apr 2023 01:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681286555; cv=none; d=google.com; s=arc-20160816; b=ca5uDUeW2jvfbfOLcCqxERy6tNtBJ5d/z5p/XAoIJVeBmxvdwN/EVUg//TTSkOXBoX 21O1/kJOsT2hjYqFO5qOVtRGWdRZc/bQ4z/Vwa7p6T0r2slDXNkOz2RW4zx8Hk9R0/h+ xW/thcr7MkKYepFLgj8UZBEnJh9XqDWdb53TzMoTicq6S3LLeNhT3AuJHmMF8zFvyS7+ ieKDT4CiYRR44vUzPxa2PWfUdqeCjbh4h/iOT8vLaqZYx2p+wtY8WNi3zKLV86jiR3n/ Ae4P1n6imVgMVkSRrP/0TYlWXWt7dhbdOTJ2Woqi6t+2nKCBwEtjUcFhhNlYyBBiG7xN DO7A== 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=WDasEsbrZhq6Y6NIih1XXwyVWPjBSJhq2DHjFCLMKyU=; b=SEkefJUKF7RfFUoh+pbolRqtWqJYmxJiuklLAUd1Bh/AHn0V93Ljgm3hQJ8BHWMW1y J/HUtyBjLkJMDoqS6BBxHq3vTzRQVrn9XEpMXu+BJGreu5ILfaqn7L3gLQgvrpKU8gbd QlFc7lzEh070YO6OYFLhjT/QE5ZCHshS2NREuGqhXkPH09njjgi86WnLYarTHQpRD+9U gcQvrt1USsBzwvm5Ox7P8anWcqhBZWjBK5Bc9shE62VtIBvvBXzckbqFeDsrbKOPo8D3 4gZQYixnNX6Lv3TAyhJkKn54D176/Nh/PIR2HzkxDgBC9e0nC1B7LDIhrKbcAOnCBb6S Shkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=fFqzuowZ; 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 x190-20020a6386c7000000b00519f8ebcc6fsi7582362pgd.866.2023.04.12.01.02.16; Wed, 12 Apr 2023 01:02:35 -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=fFqzuowZ; 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 S229962AbjDLHvn (ORCPT + 99 others); Wed, 12 Apr 2023 03:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjDLHvl (ORCPT ); Wed, 12 Apr 2023 03:51:41 -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 07EED59FF; Wed, 12 Apr 2023 00:51:39 -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=WDasEsbrZhq6Y6NIih1XXwyVWPjBSJhq2DHjFCLMKyU=; b=fFqzuowZKwSTde6gG9QCNF4AeM wFNcTZtQuE/+ZJKEE1xmzTEG3bJCxaTw2LqZKs9ElseEkHen+IU6tU7YdSeOo1YWgc7QTqj0N1d+t 7deQ2ITZBv+gbdo5Uv5xrYSSGDNiBzUaI1OKVu5a1gmxeZXLuLhI7ML2VEqXQsSf5BW1+g91fFmil 9tVV+nxo69zsc4OoJ3zFxKQ34kU9hNDaXyoty9P/7PwGB6zLk2HdnCGAvwpm1J2Y+c2jk7ghylFOO gzAOm1mVq6vXnfsiSLvPH1R4oae1MHK+++Vp2SoZZAUrpKdiXWsDEJ69RZ3u139Bqw+vwoY5KQAMv Zps9iteg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:48782) 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 1pmVGJ-0007f7-CV; Wed, 12 Apr 2023 08:51:27 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1pmVGD-0004wd-Rw; Wed, 12 Apr 2023 08:51:21 +0100 Date: Wed, 12 Apr 2023 08:51:21 +0100 From: "Russell King (Oracle)" To: Maxime Chevallier Cc: davem@davemloft.net, Sit Michael Wei Hong , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , "linux-stm32 @ st-md-mailman . stormreply . com" , "alexis . lothore @ bootlin . com" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net] net: phylink: check for SFP bus presence in phylink_expects_phy Message-ID: References: <20230412074850.41260-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230412074850.41260-1-maxime.chevallier@bootlin.com> 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,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 Wed, Apr 12, 2023 at 09:48:50AM +0200, Maxime Chevallier wrote: > When an SFP bus is present, we don't expect a PHY to be attached > directly from the MAC driver, it will be handled by phylink at SFP > attach time. If we have a SFP, then phylink should be configured for in-band mode. Maybe fix the firmware description instead? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!