Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp332793lqo; Fri, 10 May 2024 00:50:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKDevyzPQslWPaQr3uWLwtR9QzuaqfXtOgUBkcZq4qWRqGWrlh4XlAOQafZ05hnItIT15eCKZ5IjwW7rItOmULSg8Nwxl9WZvPmpEfcQ== X-Google-Smtp-Source: AGHT+IGXQRTFGI03FMjUT8GYTVrGcGdPq6ofRn2BWtoPeZOV4OkNOPlWIVgtq+RsgOvwchjMB/yp X-Received: by 2002:a05:6a00:3994:b0:6f4:3b76:ebf7 with SMTP id d2e1a72fcca58-6f4e02db452mr1631456b3a.20.1715327426203; Fri, 10 May 2024 00:50:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715327426; cv=pass; d=google.com; s=arc-20160816; b=rIrynaMAkuCeqkX60Ww9WjVM7o2Uo3Vw8QMrCFeGNFqpotw1JxZbOz6hF9iI4mmR3u K2N57DtCt7AOtIcsod/2c7jF1BR9IGJUPYlPI8iu8Zq9lZoEn4mbLp/zU28YcKCmGKw+ LdrlZOJyEMg9ROp6aavpiLXlbrPepHEHWyuX6A2+JPnKHGualjJ5UhtNmFVjHg+s3p0h 5W+nxiIRk/oi4GLCvoOTs+voJHDQJuVH9kGFG0kDbfa6iPrWc26rmWoVzS/zEhT/25Kw wmPHYApzBwTeskADbKIWN74PKfxMAJEOVVKnhtw4RoifrE227Tws9O7grI16UYCSI1R3 MmtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=83qER11rv8Rpxyug/G55t1Ztws5B0HNQaUJtN1GoKJA=; fh=ForW9utl9ac2AmV+MgZfRtVAC337FqqdrYI0E8n8fmQ=; b=Qanned7uSLKjdMlZmuM0lwyPZ8rzIG8Y2BICEFIldafbYk45FKlhoDgQuhTulqZi0s c+qAAQgFb+9MucfplRNT/71EvMb2lq0i6/BX00Y7HWtPqpKajBd7tmHJHVB0mPhd1IH/ Pt6a555ThBzW0I5d+uZdvfBV6g1ANBSk6OYTVDbP55ly6SbO11KSLK+U1lIlxHCic+IL eJ0ZvQXk8+xB7HCcMWp/5BbD0F/Df56X8CRK2z9GiEJYwnBYVhRlyYBcg6hmvg7M0J0j uF4GNJef2f0FlQMOJSnzDfEj2n25s6nkiITtdL37itcVQXZeP9Ki+1b4UjwjwqJR4BVx +mKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F4ZJBoW2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-175413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175413-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63413d72bffsi2979365a12.796.2024.05.10.00.50.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 00:50:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F4ZJBoW2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-175413-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175413-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 43CB8B21536 for ; Fri, 10 May 2024 07:50:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A36BD15F335; Fri, 10 May 2024 07:50:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="F4ZJBoW2"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="N/8/QdGY" 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 DD66315E81F; Fri, 10 May 2024 07:50:09 +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=1715327412; cv=none; b=d3Xmc9MuJRyQJ+DOkyCdq+JRFyohO25Kz3WDtSrOmTXUL8LIWob9grLQstIAcI6IRZt1GRn5/uXSxT5NAt1jtuPjRjAXrNVbzyLwOynGvm8+3TNStU5hodGfWGrFazuIFog25iTS6olkb8eAnzBBhXDz4e9Eo4JF5INnmGmzjSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715327412; c=relaxed/simple; bh=rMAVjwBkRfoO4ApsKQ3uN38cwC6IUcZXgUBhE/UzM1g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=VMpBHErgpaFiLTTpwxCqUsLRr4S+4pjnBifaWxvoCO7TscScaFUBaB9NCCCKgMu5ndyFurtLTUk51Gwm0oM+ZZk3EdbetI2Rs+h8+aVmHME8d6Lt+5J5zeEIrgQdpyT2sfyY9JyYygt5Bj6cYM2AfaT/cDWudMi4scu8M5pCHv8= 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=F4ZJBoW2; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=N/8/QdGY; 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=1715327407; 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: in-reply-to:in-reply-to:references:references; bh=83qER11rv8Rpxyug/G55t1Ztws5B0HNQaUJtN1GoKJA=; b=F4ZJBoW2xB7zadPyuaqgCohVyB7p2yCd6qMvchefS6c42vvaoaURdGD8K3/qS6P1fs+Dyq ahJSc54GoKzSqzKAb3kBu+wP8Pe1+rPpQNtDrPn+/CIG8VKVqAnIb5hLs/3DGbr/b7nx0A SJPfoVKkFui8A5kHY5wYj6rlRmlDAI2DsLcXRinUbs5c2LlGSu/uR4zZbXY5Ia+vI5fjaT 3GVl71fqwyI3nq5mQUIjqfVoR2DlXTSol5Dok7XUXAauejY2EHQeSh7B+DmLIVGg8vIdFB 4MdimgDwCfGPm7ADpGHDtWcfwQRSafJG+6AxztkO8bXBbMyXOX4cJLmuWLAHrw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1715327407; 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: in-reply-to:in-reply-to:references:references; bh=83qER11rv8Rpxyug/G55t1Ztws5B0HNQaUJtN1GoKJA=; b=N/8/QdGY6IM9FP3JjfL3WpirVQaoRsJDUBXzB18tdl+TYZK85ZAmo4NTUy/jxsUNeqmbmj uAYZA2fY7Hud0mBw== To: Richard Cochran Cc: Mahesh Bandewar , 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> Date: Fri, 10 May 2024 09:50:07 +0200 Message-ID: <878r0inm1c.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 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. That's >> >> + * backward compatible since v1 expects all three reserved words >> >> + * (@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 :)