Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1247462rbb; Mon, 26 Feb 2024 03:42:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwpzF5N/yM2xk30xExpNNG/HXtFgGswJ/zXxZZH42Q9rscixDLK6aWhIomBIn0+TPf0LXsnebg52X335dzwsfEbNTlbVHcGFEfvnyhkw== X-Google-Smtp-Source: AGHT+IGigB8/9MDUd5v0KOkUEThQRi+YqaFhUeF9Hqexh0lL05zriXLDzUS6hPqVvn+f8BpH/rOG X-Received: by 2002:a05:620a:5719:b0:787:a5ba:d581 with SMTP id wi25-20020a05620a571900b00787a5bad581mr7094312qkn.2.1708947750614; Mon, 26 Feb 2024 03:42:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708947750; cv=pass; d=google.com; s=arc-20160816; b=aP86KOO/tx1mzJVRQ9sflJ9zmEa2Z3D0Hy7n2fDoEx3d/6E8Doz/rL0SAYou8N6N3e WrYSwUOOtvzyIIbmbE2piY/z9tJ/vN6KdNyjx1y4tJ8ULUfQI+pWHyxQaOntdu+h06w3 dmBeQIkepLZvx7JrO4f/YYoO2TqUkjoo53F9krwaAfKIHcFp0HCFV0szutAq+EndPXuk ez7yMrgX2SfnfeOtc6ILgdC9ZgcZBj0Ik1iM3eNDoYBAxvGEP9/GGk16s1IQWkxBS8Fv P5pq4wV8RuQWdK35mqGAH53UJxAT6Rve++GoZYd36E9H4J+woQfSn4kA+vvZxAbu/9N9 iTcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=yfZTLN5C2RkxA/kaPf/m9p9YAtmZBNtR82Q6hYJPxLM=; fh=IXJO1/zWtut9Yq/yVGMpkz88TqisIRoRS/xc4wZvh14=; b=LWdJsR0WaaB9SGe2JfbE+60qcQy4/6I7uQP6e6P5jg9BCsfn/3a0XEDXMrVLe2eaIJ 9E49x8/nVbHDCrNZKFCC6ro2TXtgsDonV6M+jlTtbhAdlx1qDv9U8eWi7mlTyiUSOHx6 CLe0Uo6IIi6H4fDTWZ7kC/N+LMrUWsaYp3W33gwlnz1kXwJ+9pbHSJPI3cGN736Gx4Mr MOIhd3dfE0v/PMcz27Wg2qIwFBsgT9H2Ow6iuqbXHE1z9PFF7bafL3DAjKtWFJBB9IaB rJLeqbHzsSXZrwOR3Fo1NiGmTtyfqhomC1brel/tZiy2f66kHPpY+SYMsWwAT91eMfDD noHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="tnwZ/sP4"; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-81296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bp32-20020a05620a45a000b00787337f59ecsi5216696qkb.8.2024.02.26.03.42.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 03:42:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="tnwZ/sP4"; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-81296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5FD301C25755 for ; Mon, 26 Feb 2024 11:42:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88E951EB35; Mon, 26 Feb 2024 11:41:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="tnwZ/sP4" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 975541CD1B; Mon, 26 Feb 2024 11:41:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708947685; cv=none; b=gbHtKBhgP+WFnVjVlfXfAceB87gREti7nZfmMY/SCjQ72VfclL0aW0vZwsaPNE+HA6ZMz+I8+JmJYVkbo56Empj1ircz6/P1m0yceX5/Nt/u3uDwjk4Qv5wZO/6e8/rfgk/bIpnBbFzSuCq2nwHveazhKGueam+obG/mQgkvjVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708947685; c=relaxed/simple; bh=i0sZPE2siA+KbeFuOAnfEtNMdZnct79f6csjj2KTG+Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kDEqOYaEY6SFyc30FzhmAf/Vl0OCdPocsyUSnpWOzR9J29qOHqcZz/nAFMr0UopZU6HB8wWhQygxYs9m9zxHOG6J3z4T6gQwvTgXbwxmE1+dTa899izot/wqB8vNdkkD4nis7rWQFvPLW40iEv3KEZkOf0O4PqHOD/a1lBXFBEA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=tnwZ/sP4; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk 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=yfZTLN5C2RkxA/kaPf/m9p9YAtmZBNtR82Q6hYJPxLM=; b=tnwZ/sP4RiscbQRTfiGAaEXsqn 8IH5bQ2CUgY95aH0jdx/aX5gu/6OnrDygICiOEbqe0V3JeDnOG0d5erGNQPdiK97Lgg/xmJuJeRJe Ae1QPU6MxN1W9mErx7LQd6aS1ytcx6OZiA9hv214YJSmM6DAKnWZr0/jOxkcoNakYdfK9o3DszvW7 KJI8hIIMv7KtN5DwMi5QJ1gTwEuakIM3CtJFVkaZ+7s39rqkQRThWvQIvjMKBI90ORlgVAe9abwzK fRlfk8xoJdqTN1xlCs2KF2F78CVUoh0MbTeNCdUGNqQkT13ObfJLzdUCAttW8bq4oGi/u/gg3EDxX 3ELKMmAw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:60790) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1reZM7-00038r-2I; Mon, 26 Feb 2024 11:41:11 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1reZM3-0006Op-Jk; Mon, 26 Feb 2024 11:41:07 +0000 Date: Mon, 26 Feb 2024 11:41:07 +0000 From: "Russell King (Oracle)" To: Maxime Chevallier Cc: davem@davemloft.net, 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 , Jonathan Corbet Subject: Re: [PATCH net-next 1/2] doc: sfp-phylink: drop the mention to phylink_config->pcs_poll Message-ID: References: <20240220160406.3363002-1-maxime.chevallier@bootlin.com> <20240220160406.3363002-2-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240220160406.3363002-2-maxime.chevallier@bootlin.com> Sender: Russell King (Oracle) On Tue, Feb 20, 2024 at 05:04:03PM +0100, Maxime Chevallier wrote: > commit 64b4a0f8b51b ("net: phylink: remove phylink_config's pcs_poll") > dropped the phylink_config->pcs_poll field, which is no longer required > to be set by MAC drivers. Remove that mention in the phylink porting > guide. The porting guide needs to be updated with the PCS, and the details for that moved over rather than being deleted. While it's true that this member is gone from phylink_config, it was only removed after the introduction of the similarly named member in phylink_pcs. In other words, point 10 should probably read: 10. Arrange for PCS link state interrupts to be forwarded into phylink, via: .. code-block:: c phylink_pcs_change(pcs, link_is_up); where ``link_is_up`` is true if the link is currently up or false otherwise. If a PCS is unable to provide these interrupts, then it should set ``pcs->pcs_poll = true;`` when creating the PCS. However, for that to make sense, we then need the guide to provide details about creating the PCS, and also the mac_select_pcs() method. Thus my comment about a much bigger update being required. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!