Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp992358lqo; Sat, 11 May 2024 03:00:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVbcGzVO1HE/UOpuSCK3A9rorOmnxK+XZnxTwUxBvbEDNxc9/ZbUd3rFDo55+5kLMuDIcvPjRjlDDJG1Mu3shTgXtzbM4is8ckE+LB7pg== X-Google-Smtp-Source: AGHT+IFsKr0aEl2tLCNJTdANO9klJlUArUV+KnDWH6hmCXFXtLWrqaRqlKkgUshPr0Feh3XVzHww X-Received: by 2002:a05:6512:60b:b0:518:d3f5:e6d2 with SMTP id 2adb3069b0e04-5220ff70b4amr3120548e87.51.1715421613855; Sat, 11 May 2024 03:00:13 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c378d3dsi2850940a12.663.2024.05.11.03.00.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 03:00:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176470-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linutronix.de header.s=2020 header.b=IDP0bkji; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-176470-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8D5631F21813 for ; Sat, 11 May 2024 10:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36A5C5466C; Sat, 11 May 2024 10:00:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="IDP0bkji"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="flfZViOH" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 DF3B1610B; Sat, 11 May 2024 10:00:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715421604; cv=none; b=PuZyHwrtweApkosRLVYTvABXrbCnGLiMSv7XAYQlk7kSXqn1ZNnntbQffrZxGWzGYNJ1AD4AuPHJp5enyakbo09LRZ3VbktBPLJNYg47jsBqe/sihDgo6OWpwfXb9Sk1ugYrfsSNfjjU1GGfgoLz50TKLR5ykaWrHG2a2s7vqbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715421604; c=relaxed/simple; bh=hK/ieWnnZVN7cwkcOFnBicbzi3d35Qr4kCBNGFXXp4c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Ry2yuuJXQrqETvyrrwLIZyvkma7aRDWAPalXCP/AbMvmWGemf3g1xmfLanCN+DlK/S3amyao0FjNKpSclNDRDmeANeFgO2hGiwwWXuAKIOIv6tz7PkXz8hUWBNovotAx6cV0Y3zu0H3AxmmpeXKLq3r5rI5i6az5HkOX5Vs9ebU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=IDP0bkji; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=flfZViOH; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1715421600; 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=Anfm4LvA1aUMYuXO8S87/+mCtFjr/yXNMh3PSEH0HhQ=; b=IDP0bkjiJIBSIRrGYaj05oBl9pss/QLjrppqiN7j2JLWTWzhnUZZ9Qbv6/JGeT+a7ymsRp nGh9zZZ3wVCDklb5uZGeWOhaoyG7Ux4k6yHaf27xT6yimXoc290zlbC0auy3OQKCX6YpVK ths1MuB6UKiEfe03rojr4Ww58HgPkKetnKf4nqJ64qhSVqPV4AY8KwqRVmGnbO96vIgMJh nBHeKucCC9C+gYwsB+yvE7Qy8UbzLxpHntdtzY2DsPgJIhcWMcXhFHHiTQTdVZXqDlwXOR iwtlyE4bXVYLCTmDDytehwwLS7B4j6A6Nh8CXWw1fHc+R3cDfkVjGKO4Vu/MXQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715421600; 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=Anfm4LvA1aUMYuXO8S87/+mCtFjr/yXNMh3PSEH0HhQ=; b=flfZViOHbnBKvydj+C/EQuyHGG6DmzZZzsEjaVvtvwatzEEr7QgrafEO0kpC39gjjpFnaf BGXkiJ2HVueS0iDg== To: =?utf-8?B?TWFoZXNoIEJhbmRld2FyICjgpK7gpLngpYfgpLYg4KSs4KSC4KSh4KWH4KS1?= =?utf-8?B?4KS+4KSwKQ==?= Cc: Richard Cochran , Netdev , Linux , David Miller , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Arnd Bergmann , Sagi Maimon , Jonathan Corbet , John Stultz , Mahesh Bandewar Subject: Re: [PATCHv4 net-next] ptp/ioctl: support MONOTONIC_RAW timestamps for PTP_SYS_OFFSET_EXTENDED In-Reply-To: References: <20240502211047.2240237-1-maheshb@google.com> <87cypwpxbh.ffs@tglx> <878r0inm1c.ffs@tglx> Date: Sat, 11 May 2024 11:59:59 +0200 Message-ID: <87ttj4mzxc.ffs@tglx> 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 On Fri, May 10 2024 at 09:45, Mahesh Bandewar (=E0=A4=AE=E0=A4=B9=E0=A5=87= =E0=A4=B6 =E0=A4=AC=E0=A4=82=E0=A4=A1=E0=A5=87=E0=A4=B5=E0=A4=BE=E0=A4=B0) = wrote: > On Fri, May 10, 2024 at 12:50=E2=80=AFAM Thomas Gleixner wrote: >> >> On Thu, May 09 2024 at 21:07, Richard Cochran wrote: >> >> > Thomas, >> > >> > On Wed, May 08, 2024 at 09:38:58AM +0200, Thomas Gleixner wrote: >> >> On Tue, May 07 2024 at 21:44, Richard Cochran wrote: >> >> > On Thu, May 02, 2024 at 02:10:47PM -0700, Mahesh Bandewar wrote: >> >> >> + * History: >> >> >> + * v1: Initial implementation. >> >> >> + * >> >> >> + * v2: Use the first word of the reserved-field for @clockid. Tha= t's >> >> >> + * backward compatible since v1 expects all three reserved wo= rds >> >> >> + * (@rsv[3]) to be 0 while the clockid (first word in v2) for >> >> >> + * CLOCK_REALTIME is '0'. >> > >> > .. >> > >> >> I agree that it wants to be in the commit message, but having the >> >> version information in the kernel-doc which describes the UAPI is >> >> sensible and useful. That's where I'd look first and asking a user to >> >> dig up this information on lore is not really helpful. >> > >> > But writing "v1, v2" doesn't make sense for this code. There never >> > was a "v1" for this ioctl. At the very least, the change should be >> > identified by kernel version (or git SHA). >> >> Adding the git SHA before committing the change is going to be >> challenging :) > > Instead of v1/v2, how about I can make it 'prior to kernel 6.10' and > 'from 6.10 onwards' etc. (as Richard proposed)? Sure