Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp787026pxb; Tue, 12 Apr 2022 13:26:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb88Gb/ZfE+ZUC4e2gmBZw4rrhY+1dJS9FKDBE3xh32NcK9uOq8A1vjSa5iLAn5Ux8QGP+ X-Received: by 2002:a05:6a00:1988:b0:4fa:c15d:190d with SMTP id d8-20020a056a00198800b004fac15d190dmr38937826pfl.44.1649795202826; Tue, 12 Apr 2022 13:26:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649795202; cv=none; d=google.com; s=arc-20160816; b=Vgq+9Sj5CkbWL+ladW3Rw2Bc3+vv75mye757MyJ+VDl0HflKO6h9vgE/NRv4UzKRBj +GRyZCqtTuibBjPcW2ub8vwh2fBx+FRPZr+kT92tiMpESDWCP9sUoS1FlJiXHm8jomhR 3z0mUejYE29d6SupibBUGUlugYXYwON68iwuJ2BTkrEDmOeBW3cf5pb1IV9mmRDnJKeh 9bR2/c+4MgYk6McOWOI3MT8bB/bg7arNOBRaPs8TrEwgOVbL0ahLg2JKDj6pY+RrEaFf e0Guz5agw2j2/BNg0uVa/GgPseyTHloBLfNF6L3nUEovHmFocRKX4VCSU0BigNCq7aXF 0WBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=wSOBIIfV1E6zWOf6Ap6BP42f42YeWjssrthGrpaLNqo=; b=cS3ybExsxxHBzEXdTXfImzvbEbkurv5uyWBHK3z2T12eNcYPMj4DzY6J01nv7+FyVy ks5BSmCcWEbTGe8Hrr00XzG8CK7ZQjGusImLZYerIQvX61Q66nZfsmDkls92WsA/1yFR 9VfRqtK61CURkJEjeaMYgcfSwWMBm9ihjmfzxzJt4wYttinpOTGPJYElNo7ofaqMkAP2 eh9tff1LF1sb00u7+BxMUe5IWk4Vn/v3x/fR+bpTg0kahctyNMYz4uyaGXVx4Z4Y7LEb O7or7J59l/4W4dRO2Pivt30jLUGFqv2OARpiPcqP5dD//TWB47U5ZWMVela/wmCwzFbK mDgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=yuUXZkDh; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f187-20020a636ac4000000b0038201af9a5fsi3531520pgc.53.2022.04.12.13.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 13:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=yuUXZkDh; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC79EA5E8B; Tue, 12 Apr 2022 13:05:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354787AbiDLIKX (ORCPT + 99 others); Tue, 12 Apr 2022 04:10:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353701AbiDLHZw (ORCPT ); Tue, 12 Apr 2022 03:25:52 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED11227B23; Tue, 12 Apr 2022 00:03:46 -0700 (PDT) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649747024; 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=wSOBIIfV1E6zWOf6Ap6BP42f42YeWjssrthGrpaLNqo=; b=yuUXZkDhtS1Q1i49HqF5bGILbELxK/GZnL8Jn+JxafbqH9uRdOYH0XloFzxS4yjiVdcotk j6BOGnhzlnrKxUbopjSVQgMym8UGnW47lBEAeg0dcYHGAhiSXyL34PDMJX8BgXkqMrPGjH xKwz0Kd9qKW+j+XqekCZfFBvC3oYyEt3+PB9XmVfVwb9d6F9NjDeqEQeXehvDMgAVtBSNp WU2dUnTQLEtQbjxLQX3Ia9N89AWj1FKpwBzm5wowwIadQ9LeHAXRwMPz92Od6SxFJuZVbp oYmaRQ0rzzedOvdjHyydXJemNj2kHToiAqAXOiPC6Ck5s+WFs9RlrdekE+iIgw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649747024; 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=wSOBIIfV1E6zWOf6Ap6BP42f42YeWjssrthGrpaLNqo=; b=eLpfoolnSQcLA7qBjjn0dS096grclyQUpFIj2A+VpoERe0u6v2ABtPMrS2o2T05GUxKV09 I3rnJkbs3SmEPGAg== To: Thomas Gleixner , Steven Rostedt Cc: John Stultz , Stephen Boyd , Ingo Molnar , Jonathan Corbet , Richard Cochran , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] timekeeping: Introduce fast accessor to clock tai In-Reply-To: <87k0bvfibm.ffs@tglx> References: <20220409081300.4762-1-kurt@linutronix.de> <20220409081300.4762-2-kurt@linutronix.de> <20220409093727.7dda6371@rorschach.local.home> <871qy6hu8q.ffs@tglx> <87k0bvfibm.ffs@tglx> Date: Tue, 12 Apr 2022 09:03:42 +0200 Message-ID: <87v8vepyup.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain On Mon Apr 11 2022, Thomas Gleixner wrote: > On Sat, Apr 09 2022 at 22:33, Thomas Gleixner wrote: >> On Sat, Apr 09 2022 at 09:37, Steven Rostedt wrote: >>> On Sat, 9 Apr 2022 10:12:58 +0200 >>> Kurt Kanzenbach wrote: >>> >>>> --- >>>> include/linux/timekeeping.h | 1 + >>>> kernel/time/timekeeping.c | 17 +++++++++++++++++ >>>> 2 files changed, 18 insertions(+) >>> >>> If the time keeping folks are OK with this and ack it, I'm happy to >>> take this through my tree. >> >> Go ahead. I just sent a Reviewed-by and I don't see conflicting changes >> in that area. Famous last words :) > > And yes, I have some conflicting changes in the pipeline and just saw > that this lacks a data_race() annotation like the boot variant from > which this is derived. Interesting, didn't see that annotation. Anyway, this patch also misses the corresponding documentation entry. See below. Thanks, Kurt diff --git a/Documentation/core-api/timekeeping.rst b/Documentation/core-api/timekeeping.rst index 729e24864fe7..22ec68f24421 100644 --- a/Documentation/core-api/timekeeping.rst +++ b/Documentation/core-api/timekeeping.rst @@ -132,6 +132,7 @@ Some additional variants exist for more specialized cases: .. c:function:: u64 ktime_get_mono_fast_ns( void ) u64 ktime_get_raw_fast_ns( void ) u64 ktime_get_boot_fast_ns( void ) + u64 ktime_get_tai_fast_ns( void ) u64 ktime_get_real_fast_ns( void ) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmJVJE4THGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzghWjD/sEeBixzbfdwEh+0NSFI9u11RnAGvC9 wycvpdO5v5MNsKBgXsnO5Ssq7a1Mzx6i6hRY452BEfUvIuFFK2hvFgnvGzIQpFJZ Y5orhocN5IeJTq7jv+Iq75Rk1z4Zbsng9qCaDIVZa2u3pxqeng/HbpvNc8bczx5G TFIdkGDHJUXjsNkBa48Wj/p18QInGdrEXqHYua3auKUB+EHF0pEjqhnzXhKTHGsy CtZUqRkqCp2ONr5aU8jZhMLm8uNnezWC7dz8x3iN8KhEJkJezKa8X/JK7g2zLiSy bTviKsrixxYY7IOaBQbqynuvYPvJL9ESIik8AitJiv0qfEzpfR6ZblSzjJgPrHVS h4Fvw1yJZ3hTX3SJXgLcCQAgPfaRDRuwssjVmFVmjBDclZ2BwCqxE31Uo1hucEIw ewDwZRa/MKqGSpUGmsZAMm1MP0FW8y8p4qpHgb0BeCCiwxFyKsr6Ky/9YRO+2zAq zP9UpKGle8MZXy4n1RB2WZ1uStEujYnAF1+Sgm2kEUYptjTfoWqNxEQb+S12oYYG 0VOty1agDe+UflrRKveE+I0RS8r9ohMHeSEVda2m/Ae9h+E9KZwPOGlZMGHdJaY8 264CmK4YqwH3jl7CL3xE3rXlBaOCgGBd+3YhVPP25yOqiCmuRyim4ZuYYd02FK4B 7CrnH8wL+HCuaA== =w1aW -----END PGP SIGNATURE----- --=-=-=--