Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1942416lqz; Tue, 2 Apr 2024 02:25:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYOPshIxph0z1OoMCe7YGq2YnVf5cpNQYs1KKfpRESR5dZbXNaWgrBHoF1TYyH4ve62v4hAtqXEKdjY7GqRjfrqhj3Nepo3lfcL1iUPg== X-Google-Smtp-Source: AGHT+IFNpn2qj81lTPm6Dmg1CTmK7uyg+VaIC7SF+bi4GfCIhsQ2ZsvmSwMzM+NHzCC3AsjSX1PW X-Received: by 2002:a05:622a:50b:b0:431:255c:daa6 with SMTP id l11-20020a05622a050b00b00431255cdaa6mr19015854qtx.18.1712049929301; Tue, 02 Apr 2024 02:25:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712049929; cv=pass; d=google.com; s=arc-20160816; b=qBB2hu/TYedHlKwEhxfCdVvcgcRsr9tGDxXgvnYPKrwABVgYHZkKHBCi/3VC+NGjtu AjZkRCH24mfcztFCgJ5qcUvznAK35lPaOKkSUfM3ssUrz8SOZxi/srrxIVM8YoK0SWXJ s5X2tRQz0pMO/SOXG2v+TulwtYB9a/czjMvBt3H9bj/03pss+lZOqK/IKbsvEy3CBHPD +QAySsbFlrWdoI1uEttViZtmAvax8OPyJpuJTzQLkd/GBck7fmdJlf9mj+KwOEJCzgkb AjDWcdKzoHwsPrQCBeNhkaqVxpJim2I+WJL4ZzfHsfXmDj3GqBi9jMrVF7Ehs4Lj62W0 GxBg== 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:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=gxnU7oHDRvp2KKF4I0w+Kk9loooljsfq/6TvcopJ+7o=; fh=gFJ9guboxaM1F8e+eYVaq4a30yzb0XAuMgxNzrx7mY8=; b=rYVbK0e68Hxnd9TGh0oTgIeV/4xzkG81wdQJ7+dLWVGWFLn5k5mZJ+8ph6nXXKm7zV DfjNrLY+Ama+PLgKW61h/w3ybKhg3hBghmUqhmmDBNh8SJFmVc0/Dvz0vNfBohqCAdg1 d4adEK3lU3Q9+ZEeAsd2pFkkCNTaeLwi3tsLqIMseepYEV4+ODK81wGtE+V2AZk5dIC1 155yhcsuKXf89Q+jAKzAPb/d1HEeE0sPV3/2C7S3HWZgtmJlAY/zhh4feE4l5u0cy0jU HMPrT4eN/S1yhdXmWTuty4GHPJa1uxo/jkebgioomSc4dLx3Cn7hZEawj7vTQRnRBci0 Pu8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sQZucdhh; dkim=neutral (no key) header.i=@linutronix.de; 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-127630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c6-20020ac87dc6000000b004311b08900esi11190800qte.8.2024.04.02.02.25.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 02:25:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127630-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=@linutronix.de header.s=2020 header.b=sQZucdhh; dkim=neutral (no key) header.i=@linutronix.de; 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-127630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127630-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0D7DA1C203B7 for ; Tue, 2 Apr 2024 09:25:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A1BC58207; Tue, 2 Apr 2024 09:25:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="sQZucdhh"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="t7amywlH" 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 C25C557323; Tue, 2 Apr 2024 09:25:15 +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=1712049917; cv=none; b=AFPgrTvZmFRE8IH8Fz7h3wCYHlJACVwxVN7j8k14AXQKzj+Z0C8eElpiI4+q0+wISlmz3K3FB2PEIjqMMoNANskX4h/D2xBlyB0/lITXkKam6j98H20L19GKN5fXlsNe5FzhY3i3V5pf70pMiPXxkzlyLEpH88JiPqi7kT5nKG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712049917; c=relaxed/simple; bh=D+pmTJbWD+F5FqLLVUmPGKhvuuWcaJlICv2fiuRLyOA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=BiMtNEjEZyJkTlGaRJ2TsJZ9y1j9M3fW2ULkFCT4Qm3cYkDRyIr4UW1Gba4Hx3LMTU6MGsvpZHZvUFAAuxTnKJNSBPo8kXQi5J5ZlZtSfUoYbx8dwz1vJfw0KZakXG3QhWiSzNnCIPVQgiDljsqjvWkV9KKpFw2W/+uTMKdz/QQ= 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=sQZucdhh; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=t7amywlH; 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=1712049908; 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=gxnU7oHDRvp2KKF4I0w+Kk9loooljsfq/6TvcopJ+7o=; b=sQZucdhhQgMO5Ub+2Bs5zKZwhGZhWDZq8Mzo8Nb6wtWyyY8QiM6jWdXjFlN1EzlOxDD8GS 3mq6hIH/aPV9iVke03eUBejlFlW5yYzEkfTdoUZKgnpMD6Lb+/n2wuV0JPlP8u5ArNpCgA Dx12Z25LyjjUJPiGJsrhWpHJOl+R30Qv2pGyq5eholxM2Qn9nnUUVkIX5yqqu41iZcTZQK pybYPVzDYdB9rdXq1OlYPJ8ubMLy1de8gRySvOznWT2ffzJaAAEz0kW/lZUGw5335D92Qu pnMgy/B3GR7ml4RHAspOuGp4hpotADKcxTmFW+kfAGoNs6/JIyn94/fUfY6S6g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712049908; 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=gxnU7oHDRvp2KKF4I0w+Kk9loooljsfq/6TvcopJ+7o=; b=t7amywlHQ/7Ooi3w3AkZlkjifY46KwOg8Sjbg0P2ctA3ECbK6LB+5mh1AhvWM28e7KRWuZ 7k9GgRKqQPwWpsBQ== To: =?utf-8?B?TWFoZXNoIEJhbmRld2FyICjgpK7gpLngpYfgpLYg4KSs4KSC4KSh4KWH4KS1?= =?utf-8?B?4KS+4KSwKQ==?= Cc: Sagi Maimon , richardcochran@gmail.com, luto@kernel.org, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, arnd@arndb.de, geert@linux-m68k.org, peterz@infradead.org, hannes@cmpxchg.org, sohil.mehta@intel.com, rick.p.edgecombe@intel.com, nphamcs@gmail.com, palmer@sifive.com, keescook@chromium.org, legion@kernel.org, mark.rutland@arm.com, mszeredi@redhat.com, casey@schaufler-ca.com, reibax@gmail.com, davem@davemloft.net, brauner@kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v7] posix-timers: add clock_compare system call In-Reply-To: References: <878r29hjds.ffs@tglx> <87o7asdd65.ffs@tglx> Date: Tue, 02 Apr 2024 11:24:59 +0200 Message-ID: <87il10ce1g.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 Mon, Apr 01 2024 at 22:42, 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 Mon, Apr 1, 2024 at 1:46=E2=80=AFPM Thomas Gleixner wrote: >> So if there is a backwards compability issue with PTP_SYS_OFFSET2, then >> you need to introduce PTP_SYS_OFFSET3. The PTP_SYS_*2 variants were >> introduced to avoid backwards compatibility issues as well, but >> unfortunately that did not address the reserved fields problem for >> PTP_SYS_OFFSET2. PTP_SYS_OFFSET_EXTENDED2 should just work, but maybe >> the PTP maintainers want a full extension to '3'. Either way is fine. >> > https://patchwork.kernel.org/project/netdevbpf/patch/20240104212436.32760= 57-1-maheshb@google.com/ > > This was my attempt to solve a similar issue with the new ioctl op to > avoid backward compatibility issues. Instead of flags I used the > clockid_t in a similar fashion. Works as well. I'm not seing the point for CLOCK_MONOTONIC and the change logs are not really telling anything about the problem being solved.... Thanks, tglx