Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp60951lfe; Fri, 15 Apr 2022 19:31:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx43UuBjyJXT6bnPGZxNJtI3VlTzRGriSZAfeIYeS1yHybpCOjTTFIwQQ+/oq/zHKvfTOFN X-Received: by 2002:a17:902:8ec8:b0:156:847b:a8f8 with SMTP id x8-20020a1709028ec800b00156847ba8f8mr1738679plo.121.1650076313186; Fri, 15 Apr 2022 19:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650076313; cv=none; d=google.com; s=arc-20160816; b=feO4H41aS++V3+p9eCdpUAf31twxXbkqkA/FS3LXnAFU7fSwPtqLAy9A8gTPQKPfwM W42YPMpaLSQ+fEt/PMJXlGIZsFsuJchnCDZb0GJrOzrdpRD+4CPG0LxiULy1ndoJOBdm 8lkxY6ZXKRW4TtGUlAFlUaf535YV1R1BraguyT2d6rJ/5VlJx+7wtSmFF9rO5otra7QA s6jnBOFUS2WUEEhUwj8j0qdDMfZGkihACao33k955NTokb9Sgdyv7Y4PwxcpUFBZFaQW V/S4KmyP9a2CYohShyCc6PgIKN5zWOUFzYGNgW0V732JFD855+2TmR+s9XvWBnCPxfav HQaA== 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=taiC+lrAFS/tnkPZvEFulCZnvrAxFQiGKHGcqlbV7mc=; b=o6zcEYcDCUd4vmN4eW4RHimZoSRnEv3YIXr+Xfepx43esXDWZP00V2mQ1fx+KHVyVI ewKXd4150C3p1NS+m51PbL17qGCSRvDxlQzcY8o9AOCm4cgJrdMG9KWa6EApCJuj3TYv HqDfy5vUdoB4AY4QwOvUxo+9wvd5NPpHTutLnkiP+I6suCjTp/VzTSIlmfHQYIWv9rcb 8pH34NkPI4YRZtMlrOmGa2pfpZd4f5leVP6MZKEEgVxbz+Me9kPceuACrPkm3aa8UHhr mpi2LnRI3K+/qNnpwFXO8udv/wNUMcCNoDJwmTZdpaa/taEj6gMv4dzpFY8mJEk2sl9g WmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=iTe0QCfk; 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 e6-20020a17090301c600b001566dc4c545si541221plh.395.2022.04.15.19.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 19:31:53 -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=iTe0QCfk; 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 6F986135FF9; Fri, 15 Apr 2022 18:42:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359405AbiDNPoo (ORCPT + 99 others); Thu, 14 Apr 2022 11:44:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350677AbiDNPQu (ORCPT ); Thu, 14 Apr 2022 11:16:50 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F74926DF; Thu, 14 Apr 2022 07:59:27 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1649948365; 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=taiC+lrAFS/tnkPZvEFulCZnvrAxFQiGKHGcqlbV7mc=; b=iTe0QCfkyFLaBgNBvQ7IFLqt0DWAk+yGnK6NCh79E9jkR5CdV9I75IFqcsJ3OU9lpORa+V OgWt/cgFUjWRlpa/kHLOHXl+lh00bXfSG8yUIDw2Gw/nvJbD9ZtgrTS8wvUC/xvYwlv4IQ KZ/gH8q2pcF0FSD4H42f/4goYtQM0wOsS2x2I/xFOFiBQtESgksjmID7MlwQhQnfVfnKxh d3EcXdmkaLtYkS9da2ZQXrT0wT0rnaSaHOldG3GxxdjTKYdVp4BMf1ojA2vm1lCHxgLqgf 8D8RI5SQuhlxzpuWGujNU/zbSJJ3gWX2du8tAAQI/0Nk9cApfWprQL0uK9g2gg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1649948365; 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=taiC+lrAFS/tnkPZvEFulCZnvrAxFQiGKHGcqlbV7mc=; b=/scsCx2hbnK3QHNX7kt4BtQhegatXU31z8wtBg6ipfLQ6NACtD+jZVXBfO0jZbk662hDQ8 zBkCQ7APDWo0QLCQ== To: Kurt Kanzenbach , John Stultz , Stephen Boyd , Steven Rostedt , Ingo Molnar , Jonathan Corbet Cc: Richard Cochran , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Kurt Kanzenbach Subject: Re: [PATCH v2 1/3] timekeeping: Introduce fast accessor to clock tai In-Reply-To: <20220414091805.89667-2-kurt@linutronix.de> References: <20220414091805.89667-1-kurt@linutronix.de> <20220414091805.89667-2-kurt@linutronix.de> Date: Thu, 14 Apr 2022 16:59:24 +0200 Message-ID: <87czhjemnn.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain 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 On Thu, Apr 14 2022 at 11:18, Kurt Kanzenbach wrote: > Introduce fast/NMI safe accessor to clock tai for tracing. The Linux kernel > tracing infrastructure has support for using different clocks to generate > timestamps for trace events. Especially in TSN networks it's useful to have TAI > as trace clock, because the application scheduling is done in accordance to the > network time, which is based on TAI. With a tai trace_clock in place, it becomes > very convenient to correlate network activity with Linux kernel application > traces. Steven, this is available for you to pull via: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tai-for-tracing It's a single tagged commit on top of 5.18-rc2 Thanks, tglx