Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp535037rdb; Fri, 5 Jan 2024 21:03:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAcw9WtqtB5okRpmgPnjAnlwQ63QdRr03qpI0E9Op39Qv2Oq4EpnbaxIlko2O8UN78YNCn X-Received: by 2002:a05:6870:6ec1:b0:204:34ca:b85e with SMTP id qv1-20020a0568706ec100b0020434cab85emr648130oab.118.1704517402287; Fri, 05 Jan 2024 21:03:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704517402; cv=none; d=google.com; s=arc-20160816; b=sMhUT28Vl7X7SnwjA+wunX99X9llLUJiwhAmwOrmEsaNYyA+gnyRnTltkehpJm34TW Phye6eZArvxbG+aiYMm2t7InwWkYbakbmcbYuZ7wXGMNwyiHmZwh3skB0sEVWpNMEyzG uQCDLsWwgYHzFXicMzCF8uwmQkrlhf9r8eIM54ugcsccj6onQLwBsF6eEi+0X6WUvL2I NpWzFYk19zotMPEa0CkYYbelE1x84JxL3gdDi6odZUjgPZIg+EbfLEAvgT+ko6iUaDjH IbpDxLTkoZ3/92Lw4t4XKJxyjjX2NgfO5PRGYXOzBoHazP0rU1LTv/ihy8vEkXDRso1A nP4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=S6WQ72yzEWlJPYXcZ4mWVTOsW9/5ZgzPZbDV727HLoM=; fh=oz1o5u0LTf2uwVAvIR4UJCPZ0rDle92qPN/VXc/yD98=; b=y48lgwHDjvHeXCuwB+A4/2KQoaHihsjFmgrJhIbZKfJkLx10LfTAKhiYZ2v+a4U3vO c5bm9uoRJ+DF/93iI9W5tp3WmSXpI8Pvw/Ms+7lyRuw8M/P+xrYjMUKi1bMR7KQJlRM8 cwGWssNun02N5JoVt+mnYolGYpjbd/64PVun2aYF29IkjFw+xNziXw9v49g6d4IG0VSC pBPGpW0/L54D0rStTHAdzPQRJSEXtU4xUlIxhv+CzHd9Z3fWv6jo8KHFfXzAwb5GlsLV QaAn6GEpOtq4XnnOfOq6qmdb3Mir1fiFNhn+H7T3568VifH2mx2xDwlm+ixry/PQAyMQ 9neQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="f/xf9JXG"; spf=pass (google.com: domain of linux-kernel+bounces-18483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z1-20020a170902834100b001d4027dcf15si2298115pln.241.2024.01.05.21.03.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:03:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18483-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=pass header.i=@gmail.com header.s=20230601 header.b="f/xf9JXG"; spf=pass (google.com: domain of linux-kernel+bounces-18483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D90B0284460 for ; Sat, 6 Jan 2024 05:03:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 372483C0B; Sat, 6 Jan 2024 05:03:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="f/xf9JXG" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2ACE51FAB; Sat, 6 Jan 2024 05:03:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-5f3a5b9e09cso510037b3.0; Fri, 05 Jan 2024 21:03:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704517391; x=1705122191; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=S6WQ72yzEWlJPYXcZ4mWVTOsW9/5ZgzPZbDV727HLoM=; b=f/xf9JXGFP2Ti0+fB8RUF+T7p6uWiCAr/GQvBsewuPS6qnLO6mHhbmPD5cHhFq+GhF Vkhg0cdkl2bq5XVDU2VaXYXEc/IxJPTJ0MLjmGkNU4TBst+27UFhIsqgK9naCfC88azN oB29hJtHBp4faiz6GlGooj7DdHkzvTSIVo5FVKrn9dq6hrGDWqFthkZCGe76GS3PRqhu yYkn5elmXgxUtqCRew3xIUyZBSWfwtO6EL7XuP3HYic9LY3DO044cDvtf28UKSTC+gCK waKakDapVTVZizU0mI5udaMAJZqE4c0f8COJbb6L0pxYSrAopDVwtTPHqNe7clBXFJfZ na4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704517391; x=1705122191; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=S6WQ72yzEWlJPYXcZ4mWVTOsW9/5ZgzPZbDV727HLoM=; b=jMT+Arz6XKFDKyZ3Sr5BrWaFeFx/ovJSkP4/LjT/B+dIwa0lBUEz311Sx8wpIfFVJL 5EEooA5nvMScqaFJhhr5jL46t/5lKdZWx7Zi9XMub9O9cWSLyokvFjXx+E1ZkEvIFjry W+uHzMRbOI7rcAfBq0RegZiGco6YbJa5RRXlFyXMo5S5DZsXAGCjtWMyNIbnBwrntIrD 6031LMlXDWgbBYQ3wcZC0RkZkgsXhEOsZQtwfCQcNAPPI/Scs15xcwQD1w/4rv2N0Ct8 LiHmxMQ4G8nD//QYG6KE/m+QQor6W5Qgso6bpK7uICg0BRtXifrq1BnNlFszE6/Tsa0O ofoA== X-Gm-Message-State: AOJu0YyHHUOO8DSESPNkCXpGXAjjC0C/fkt0jTNHAGAZdmL+SQFuXLi5 uIes182CLONo5OW+aCU+Rbo= X-Received: by 2002:a81:5dc5:0:b0:5ed:902c:602b with SMTP id r188-20020a815dc5000000b005ed902c602bmr445255ywb.1.1704517390958; Fri, 05 Jan 2024 21:03:10 -0800 (PST) Received: from hoboy.vegasvil.org ([2600:1700:2430:6f6f:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id p68-20020a0dff47000000b005d4035e6135sm1224047ywf.74.2024.01.05.21.03.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 21:03:10 -0800 (PST) Date: Fri, 5 Jan 2024 21:03:07 -0800 From: Richard Cochran To: Mahesh Bandewar =?utf-8?B?KOCkruCkueClh+CktiDgpKzgpILgpKHgpYfgpLXgpL4=?= =?utf-8?B?4KSwKQ==?= Cc: Netdev , Linux , David Miller , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Jonathan Corbet , John Stultz , Don Hatchett , Yuliang Li , Mahesh Bandewar , Willem de Bruijn Subject: Re: [PATCHv3 net-next 2/3] ptp: add ioctl interface for ptp_gettimex64any() Message-ID: References: <20240104212439.3276458-1-maheshb@google.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Jan 05, 2024 at 08:55:46PM -0800, Richard Cochran wrote: > On Fri, Jan 05, 2024 at 09:51:40AM -0800, Mahesh Bandewar (महेश बंडेवार) wrote: > > > POSIX clocks are employed in this series for syscall width > > measurement, potentially leading to misunderstandings about > > overlapping functionality. However, their roles are distinct and serve > > different purposes. > > I don't see any difference in purposes. The multi_clock_gettime call > is a more general solution. Thus it will obviate the need for any new > PTP ioctls. And to be clear, I object to the third patch, the new ioctl. ptp_clock_info.gettimex64any() can and should be presented as an optimized back end for the multi_clock_gettime system call. Thanks, Richard