From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81056C64ED8 for ; Mon, 27 Feb 2023 15:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjB0PUW (ORCPT ); Mon, 27 Feb 2023 10:20:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230157AbjB0PUT (ORCPT ); Mon, 27 Feb 2023 10:20:19 -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 1DCF41C313 for ; Mon, 27 Feb 2023 07:20:13 -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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To: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=bUYN++OMKPYzCoIBjjfvaZw1q9FBpA+ruLFXc1vC+pk=; b=AmuBYoTtygIslQc4DOuhbws4lx fAN3jjEmTP4rmQ6JBFXYg/TZ6GvmDiQeu+PsSyZq3vJ+VjHtQLsXSxl6VN4iNeGzXddXBMHTJBVqi GBowLJOJkNwksm/vzplt9ompkm9pCsoyuxiwtTkscxniWh5CzmcO6YDPj2sQ6P6QOX0wVStd5oBxp VZ2JuZpFdXr3j6lSpyfIrS00jyQaBBm1W8xOl/cPlABvoTlWlr7xaRxkTLnAl+NaCyluARUd6IdJr yS0oAfs+lrt+cCCPuuLF/f30edAv6N7ZUj1VYnvWwe3M2N9WjuKwzSQQo7XlP86bEKMqW8BkhRC85 RaOzJqUw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54504) 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 1pWfIN-0003FC-No; Mon, 27 Feb 2023 15:20:07 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1pWfIL-0001m2-N4; Mon, 27 Feb 2023 15:20:05 +0000 Date: Mon, 27 Feb 2023 15:20:05 +0000 From: "Russell King (Oracle)" To: =?iso-8859-1?Q?K=F6ry?= Maincent Cc: andrew@lunn.ch, davem@davemloft.net, f.fainelli@gmail.com, hkallweit1@gmail.com, kuba@kernel.org, netdev@vger.kernel.org, richardcochran@gmail.com, Thomas Petazzoni , Maxime Chevallier Subject: Re: [PATCH RFC net-next] net: phy: add Marvell PHY PTP support [multicast/DSA issues] Message-ID: References: <20200730124730.GY1605@shell.armlinux.org.uk> <20230227154037.7c775d4c@kmaincent-XPS-13-7390> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230227154037.7c775d4c@kmaincent-XPS-13-7390> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Feb 27, 2023 at 03:40:37PM +0100, Köry Maincent wrote: > Hello RMK, > > > Hence why I'm at the point of giving up; I don't see that PTP will be > > of very limited benefit on my network with all these issues, and in > > any case, NTP has been "good enough" for the last 20+ years. Given > > that only a limited number of machines will be able to implement PTP > > support anyway, NTP will have to run along side it. > > I see this patch has been abandoned. > I am testing it with a ZynqMP board (macb ethernet) and it seems to more or > less work. It got tx timestamp timeout at initialization but after some times > (~20 seconds) ptp4l manages to set it working. Also the IEEE 802.3 > network PTP mode is not working, it constantly throw rx timestamp overrun > errors. > I will aim at fixing these issues and adding support to interrupts. It would be > good to have it accepted mainline. What do you think is missing for that? It isn't formally abandoned, but is permanently on-hold as merging Marvell PHY PTP support into mainline _will_ regress the superior PTP support on the Macchiatobin platform for the reasons outlined in: https://lore.kernel.org/netdev/20200729220748.GW1605@shell.armlinux.org.uk/ Attempting to fix this problem was basically rejected by the PTP maintainer, and thus we're at a deadlock over the issue, and Marvell PHY PTP support can never be merged into mainline. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!