Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp976592lqs; Fri, 14 Jun 2024 10:51:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWpuTdMqbzM6GIx03R9GsNTwK5t3KRejoEBvTvnoOaRsDgWKtbSJyPhj1QB+RfD/32yD5uk4Og0krIOCklt4ypem1hCc2rVyIE5GdJhQQ== X-Google-Smtp-Source: AGHT+IELVj6KXQi+PIzLGVm0y9gYVPRIpDuboqHTlOWw1LP4KHKad8Yxvm8JW6WZnl1SWb2VjY/H X-Received: by 2002:a17:90a:bb83:b0:2c3:a73:bb68 with SMTP id 98e67ed59e1d1-2c4db135a11mr3862676a91.9.1718387503465; Fri, 14 Jun 2024 10:51:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718387503; cv=pass; d=google.com; s=arc-20160816; b=N/sY/mNwimlWNrRY1tFbTpRJN7miBmG6LsW68sHVRHSWr1WI/8T5Ok9dwSuWnPKU6l EIQSLqwhw21tEfEJO4YIW0FOjylAokAmdiLlYFRkqfsIl9eLTIdgLa1daQ/REG5k2RUl JMU2pOjGdpcEVX8NR1yccuAxwY/AlK4JSrNc2kcSEtSFt/NL9qKMgol+TuvVf6/9oeUg p2fPGD8oX4yELq4TiqtXm8vIVJbb5vxlXcs+kfVdjpEtAbM5iTvAPOBr9quLBXkez+d0 nUnEW64cLMd4mT6Wz5nSJ5yNgnN5HHN8m8J1FmbRNK3wZjhMid57vE/O5qmlBqGHJiAV CnAQ== 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=VLp0XKh59OcMtWOpegZjhoT2Uyd2kf1eZygBpGw1rsc=; fh=EfsMIhUYjyNZQr8/HXhamUJxza3x+LMVMHIypwqkZKI=; b=FVr2MiWlGsfPbp5x01xUl/W3RPbiurSjsDqlxDBVRSou4gv2Yl6hY+T/wp0JwoduWI 758vav2rZSvF3i4HClgiKt4cgSS9w3erxW1w+WIUE0eWhqXu49a8aIY6OPwZ+x0Ir+Dw zJwP6X0ijyAEiXuHadiaUT8GBmIp+WOn9nviMRbQthPyhTOrRpEcbf41aaLBXJPGbTl+ uXNFNvVxpCNll7fp41fIa/YSzMFaO+Ieb4lELcW7RH9ImWqarpdeqvBtXIT7DCnuVkU7 4tk7SHWDF5c8OERr3UeLO8rQ6CV0wyWB2WJ3GP9CTaLbkoWedqKvlJ2J2X5jlY0zAokG LvWQ==; 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=RyFScOOv; 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-215386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215386-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 sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4e3b3ae3dsi1754018a91.184.2024.06.14.10.51.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 10:51:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=RyFScOOv; 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-215386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215386-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 29E462820F3 for ; Fri, 14 Jun 2024 17:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7462D19DF41; Fri, 14 Jun 2024 17:46:44 +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="RyFScOOv" 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 2065519D89C; Fri, 14 Jun 2024 17:46:40 +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=1718387203; cv=none; b=N7uOnnq6SBOYRvbaKkXxblMlO0A1csuA2xA82qlMfMlM7G8Zb9MWvYsqAU44aYrpMbMh1jM1JJVWaSo5DSevl5j/sgx2NPe9iKql9WcQZwupRjuFTVeqy2WGV8A5Gw9HnHcrGhBiM2ffSUd/pumavvGxtrS2gT0OHNR9CaWsctI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718387203; c=relaxed/simple; bh=FUhw5QSPT52a+n51aUGW5MWySfTN62An4zO5LFmLXlg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gmNLvPD69xIC7OUX4yqWTShiFnQuTT32QrmcKiUUyiwAnjyyYO/T7WwFnHZEy+2SizAc6CYKnpPSliMlnnw7hKU6cUmqWqLHHGnWsQjwBwniiAc1wnqSqt1ILwbKFoSY/5Z0Nhiwg/XC6WDoIAue2pRKIxfZE9lyu6NmG8IIMSE= 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=RyFScOOv; 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=VLp0XKh59OcMtWOpegZjhoT2Uyd2kf1eZygBpGw1rsc=; b=RyFScOOv02S+cmpl/z+zry8jWZ 4Ql+RZ9Ko1bSpLGTcwpEN7SHVwBt3hfQp5iAPTG88/4v6NGFkMHHVmI69NYq6tDmIlb+5W08BsY/q XrhqmI6yU6sapMPi4VwjK9ViJDsz7BeG+/vSo/acrDoAb2MeqJObWoT4PMD0j82D/M/VFi0s4chHR DURdpOET2UoxjeoYxfgMp9gCNWoPxARX9i4TxvfPw9i75IOVWSnPgw6TElfepHCPCQZ11xVkvjhWR UYVXOeOKjb+rngRSVfsZzjwzWtpgGnwJZaYlMAMGNlksAy4DDi+JbLmcN8mRTx9uAJ1ko/qBek0bX NyW8uHrg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:59072) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sIB0C-000280-0u; Fri, 14 Jun 2024 18:46:16 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1sIB09-0002Jc-8R; Fri, 14 Jun 2024 18:46:13 +0100 Date: Fri, 14 Jun 2024 18:46:13 +0100 From: "Russell King (Oracle)" To: Paolo Abeni Cc: Kory Maincent , Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu , Shannon Nelson , Alexandra Winter Subject: Re: [PATCH net-next v15 07/14] net: Add struct kernel_ethtool_ts_info Message-ID: References: <20240612-feature_ptp_netnext-v15-0-b2a086257b63@bootlin.com> <20240612-feature_ptp_netnext-v15-7-b2a086257b63@bootlin.com> <19d5b8f250979c7c244e7b5b08d12783667576ee.camel@redhat.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: <19d5b8f250979c7c244e7b5b08d12783667576ee.camel@redhat.com> Sender: Russell King (Oracle) On Fri, Jun 14, 2024 at 04:02:04PM +0200, Paolo Abeni wrote: > On Wed, 2024-06-12 at 17:04 +0200, Kory Maincent wrote: > > In prevision to add new UAPI for hwtstamp we will be limited to the struct > > ethtool_ts_info that is currently passed in fixed binary format through the > > ETHTOOL_GET_TS_INFO ethtool ioctl. It would be good if new kernel code > > already started operating on an extensible kernel variant of that > > structure, similar in concept to struct kernel_hwtstamp_config vs struct > > hwtstamp_config. > > > > Since struct ethtool_ts_info is in include/uapi/linux/ethtool.h, here > > we introduce the kernel-only structure in include/linux/ethtool.h. > > The manual copy is then made in the function called by ETHTOOL_GET_TS_INFO. > > > > Acked-by: Shannon Nelson > > Acked-by: Alexandra Winter > > Signed-off-by: Kory Maincent > > I think it would be nice if a few more vendors could actually step-in > and test/ack the driver specific bits. Well, in part this series was triggered because of an issue having PTP support in Marvell's PP2 driver, and then the issue that if we add it to the Marvell PHY driver, the platforms that are currently using the PP2 based PTP support were forced into the weird situation that some of the PTP calls hit the PP2 driver and others hit the PHY driver. I had sent Kory an email a couple of weeks ago saying that I'm unlikely to be able to test this out in that setup any time soon, I've had high work pressure for the last seven-ish weeks, and I would need to be in front of the hardware, which is fairly rare at the moment, and I'm not going to be in front of the hardware until August. So I'm just not going to be able to test it in a reasonable time scale. There's not a lot I can do about that, sorry. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!