Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp157026lqj; Wed, 10 Apr 2024 07:02:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVOHbZ+Y2JGQWPrJDDqzbi61pLQRVfOFaFHbBTtz30KW9GH4RazlMI+NdpqfdxKdmyftdHPXoAwZLy0r8RR4sXQQkG6W3izTwxMrMSYXA== X-Google-Smtp-Source: AGHT+IFxwAyzaJD01GG3HKKgURqGou7Noeoe9eHyUkNkl+rR/5rnhltarkFX5CWhUB04xh8rhtmA X-Received: by 2002:a05:6870:b14e:b0:220:bd1c:6c21 with SMTP id a14-20020a056870b14e00b00220bd1c6c21mr2742646oal.39.1712757743844; Wed, 10 Apr 2024 07:02:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712757743; cv=pass; d=google.com; s=arc-20160816; b=gwNBAE4sQMhhhg0hG61ZYOxnJ0VkZisB/6AZpCw1B6cHn94K87Xy/TxqJxkC2Z1Vh5 qUZxl8vHimZ83Z25FdC9JuCnbg1DsydaCufYirYPnyJ/+lHj0bTVZSw4YLKviM3jWkyz a7cUN+4gmqHg1aO7Xw+8xYJ2jtyVkB7gydLd33BTlqBLExJ4AYqH7BQ5D7NWiYq0A2za 4SvxAPI5iDggcE6OaiWangyT1ubR4ahXezR7jHSU1NJkXjftSVAuS7FIDQcNFqPhNNWn wfbFICntfuiKi4G8ZL8naINO5oAOhiDZcAcgWj1C0rlnndcSsT8mimqOfjNaBOrykf3j y9/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=JCEBE0ZN4OCzSX6TY382vI7qZ2HEUdWjDQGoDSCw+Mg=; fh=Cki07f1qhcWj0QY/VQyCDZswl84d/bQytMmq4UQ9gO8=; b=nMMVRPUH2ZLnyePLoPkYjki3FFQPbB1pRN+v4Z5Y1rVUYWFMFx7zBO2AsBPClqbgew 9F3F1y1VMud1OCNXj5dKG172WH7czDZTJEkdqNWBBG9Gr3Ok4g7qHFLNxFrXO2ZqrlWi qqAInGkq7+kqA1vF7j9U6FuoYCQXppVFHOK/T9WBYZbH86hoxggM8S7mcwGUsXWHsYTL cYXhoNPYLqcNTVvo/YFIrIqAL47ZXZ9hc10fVY9zz0X5Du7sC49zQrRbDRK08DcZNnHw slk0e+zPnl/sAOSU80TggWwt3yzbQJfQkt1+Pgk33SjQciXiFxX8457RYi0OOBtZsrup 9w4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ZrTQ2QM8; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-138685-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138685-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t17-20020a05610210d100b00479e88fe5cfsi1208587vsr.86.2024.04.10.07.02.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 07:02:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138685-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ZrTQ2QM8; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-138685-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138685-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 419561C27AF6 for ; Wed, 10 Apr 2024 13:58:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B766216F842; Wed, 10 Apr 2024 13:54:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="ZrTQ2QM8" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 9B5CA15E80D; Wed, 10 Apr 2024 13:54:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712757260; cv=none; b=qrBz6UvqRyW81E2MfcGoGvVgX8MgIiw/XefT2JZpBYNAMAp5VUKhZtnjlg8hPyZ68id6WkXlt7PJ60jH0npPxq7jcp4m4wcqR/gdTGj8gdwow1PYGyNNDfmpN7vx98POHVpzspFy5RIJhM6oKcJ2GpkTRpO6EPzRChuA35n0XmU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712757260; c=relaxed/simple; bh=qXgUkN/ZVhwE3W9k+C8UdVjBcT37D8ecxyft3UoOeCQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=o8+BJHdBUBscO9hvm7snJrv3QU+MjshPeW7Cu1+fnrLDnKGXU8JDteBD0+C3wbJVxe6l7dYietervG8ycwV5X+pmMwDt0MrZBouqzTpjDx4+rgMO294PLQF9AMhaXKN+w7kLwZWHZv1zjo2cLASKXKn0LhpZrVUzjuhR2vP/bCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=ZrTQ2QM8; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 1B17C60008; Wed, 10 Apr 2024 13:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712757255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JCEBE0ZN4OCzSX6TY382vI7qZ2HEUdWjDQGoDSCw+Mg=; b=ZrTQ2QM8b0VdoGlNRf/5eqC2AbdRaW74M5OQka9hEkmseL0pW75UoGr7nDzC31/bniRwlT K5ut/65XW1lIb10ii2zpJwlcLDzXAGTLbbxW550BvAS6ecdr5dbQlo7JUR0jEPzNjD6ZOs h9msQpN31KtZ9QrOoXMd8jleKxGTRrKkyQ1o7CCDpPxTWmNY8kb4flCKy1sMY6kp7UvwuN XnEmU/nHtKCR/hcwsRehON9JO1MWFIcgksg2NY/R00R/EPKEcSqdTBQzoZ/o3gBARAgagB WhYuV0AkR9NqfEzUqVtXH0Qat/EcR3wF5o29xJrOw7JZNctyzYEUW84OPN0G8Q== Date: Wed, 10 Apr 2024 15:54:12 +0200 From: Kory Maincent To: "Russell King (Oracle)" Cc: Jakub Kicinski , Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Paolo Abeni , 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 , Alexandra Winter Subject: Re: [PATCH net-next v10 07/13] net: Add struct kernel_ethtool_ts_info Message-ID: <20240410155412.2f34a117@kmaincent-XPS-13-7390> In-Reply-To: References: <20240409-feature_ptp_netnext-v10-0-0fa2ea5c89a9@bootlin.com> <20240409-feature_ptp_netnext-v10-7-0fa2ea5c89a9@bootlin.com> <20240409182725.139856d5@kernel.org> <20240410101200.0178e594@kmaincent-XPS-13-7390> Organization: bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Wed, 10 Apr 2024 11:04:36 +0100 "Russell King (Oracle)" wrote: > On Wed, Apr 10, 2024 at 10:12:00AM +0200, Kory Maincent wrote: > > On Tue, 9 Apr 2024 18:27:25 -0700 > > Jakub Kicinski wrote: > > =20 > > > On Tue, 09 Apr 2024 10:26:29 +0200 Kory Maincent wrote: =20 > > > > 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 for= mat > > > > through the ETHTOOL_GET_TS_INFO ethtool ioctl. It would be good if = new > > > > kernel code already started operating on an extensible kernel varia= nt > > > > of that structure, similar in concept to struct kernel_hwtstamp_con= fig > > > > vs struct hwtstamp_config. > > > >=20 > > > > Since struct ethtool_ts_info is in include/uapi/linux/ethtool.h, he= re > > > > 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.=20 > > >=20 > > > This one now conflicts :( > > >=20 > > > Applying: net: Add struct kernel_ethtool_ts_info > > > error: sha1 information is lacking or useless > > > (drivers/net/phy/marvell_ptp.c). error: could not build fake ancestor= =20 > >=20 > > gnn patching my out of tree patch in the series! Sorry for that. =20 >=20 > Given that this path corresponds to the driver I wrote, do I assume > that you've picked up my work on PTP support for Marvell PHYs? You > should be aware that I still have the patches out of tree but it's > been pointless me reposting it until the issue of which PTP gets > used has been solved. (Publishing will just increase the pressure > to merge it without the PTP problems being solved, and thus break > Marvell PP2 PTP.) Yes I did with few fixes and I know you don't want to post the patches until setting which PTP gets used has been solved. As you can see this is one of = the subject of this series. About it, could you review this series? This would = help a lot and you will be able to post again your Marvell PTP patches if its get merged. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com