Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1619513pxb; Wed, 30 Mar 2022 07:11:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7cGldGnEqgOdW+0CBgla3L9UOE/jyYEPv11znl2jXPhwOsPMbCKS+2/BteqpQm0Ruxn0M X-Received: by 2002:a17:906:7304:b0:6e0:6918:ef6f with SMTP id di4-20020a170906730400b006e06918ef6fmr39695184ejc.370.1648649497096; Wed, 30 Mar 2022 07:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648649497; cv=none; d=google.com; s=arc-20160816; b=IOBzW8F7RqdNFXFGln2dC+wRfVce+i/ps7SdeFNrHxggTmlYsAh6nPXh0/mTXaOZfv 4gCvRVFdZMAflC2EpDUWUKII7eiHrdq0yS9tBfLejf5IN+9TGtxmJzUhYgamd4HfXk2h RKbVQj0u8fDln5YRVTlzjukoyu0F9928trEyr5oweT+H+aIQXKT+vcU+AdIg3sT/CbYP hCfHxFFQD0z1jtqDjx9RvU3QTmDZUy9e77iu89aYiMTNz8WLbIfR00ZKrrW7RULzIDNL EXbUNA8KDBs9oHNdLMma/6slkPqDIl1N5kZamF1IclBpv5E1XDV0OC0pSCfY8EbgOF1B x1Qw== 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:to:from:dkim-signature:dkim-filter; bh=J4BwUFEnERHD+GXWZTxjovQvtNqH+5sYie0SgwCqXpk=; b=e9v4csWjZPp9T2iRMCasqm47rkhgaTHcSxcF6xqY4JuC76qbLTJ1/qEmpLqFG/RHT6 D2YTzrfKEzxkisjVj2eESjRw3ReWAyer2wOO1IvfKAC/+RZg+iPWbt0F/49X7LW30E0G L+03RTSvstSEsLjB+69fDajFj24eB/Ww1iBxUAqvzVxKQy55WwqajfC/K71N5YAmouhe WH3v93/gUsUOI5/rNvROpSLWevoVnIwRICmdec/X08KdNz7VGzR+SdrbA5MJQBIfxchU sw7tLWaTi/XQIg0uYr74lQ9CNokre6gbz7o3bSS9V4x5/5PIgRD/RiksBwpSkV/bYSZs 7Hsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=W1k6RhGs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t15-20020aa7d4cf000000b00418c2b5bd4asi19420454edr.44.2022.03.30.07.11.10; Wed, 30 Mar 2022 07:11:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=W1k6RhGs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238536AbiC2P2v (ORCPT + 99 others); Tue, 29 Mar 2022 11:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233601AbiC2P2u (ORCPT ); Tue, 29 Mar 2022 11:28:50 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F317E1271; Tue, 29 Mar 2022 08:27:07 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:35::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id EDBAC732; Tue, 29 Mar 2022 15:27:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net EDBAC732 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1648567627; bh=J4BwUFEnERHD+GXWZTxjovQvtNqH+5sYie0SgwCqXpk=; h=From:To:Subject:In-Reply-To:References:Date:From; b=W1k6RhGshgO420otQc6BSAwtuJAMUaHZ616+tM0WyzUJd5CAQvaLB2JaBTXbDIs8K Dhz1TobDSQhos4+TFz2cD4rhdW2VE27WkDEqq/FBCIhPjqWGPoZQ9w3lGy+V/9nyeN sTlSxFxfSLzYskogQfuYd5vTyn3bSFAN7EXKxBb4jRFq2G5IuZ2UlqLBGcZ7+kns0c DMVzd+8p6fYQLKe24gjotWXGSvAXgWhWvQXXtsWWgUB0B+oReA0jURqFnr8jFUwTzm cK+BeIcUBVPe2OWlnWNXOyaxRK3kUXjbSr/3Y6DhWUuygMO0iec1mwCwKaNvldCc6F JPdfv1ZApDjsQ== From: Jonathan Corbet To: Bagas Sanjaya , Dipen Patel , thierry.reding@gmail.com, jonathanh@nvidia.com, smangipudi@nvidia.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, warthog618@gmail.com, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, robh+dt@kernel.org Subject: Re: [PATCH v5 01/11] Documentation: Add HTE subsystem guide In-Reply-To: References: <20220329054521.14420-1-dipenp@nvidia.com> <20220329054521.14420-2-dipenp@nvidia.com> Date: Tue, 29 Mar 2022 09:27:06 -0600 Message-ID: <875ynw7p9x.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Bagas Sanjaya writes: > On 29/03/22 12.45, Dipen Patel wrote: >> +============================================ >> +The Linux Hardware Timestamping Engine (HTE) >> +============================================ >> + >> +:Author: Dipen Patel >> + > > Please learn how to convey semantics with rst format, see further comments > below. That is the Sphinx "field list" syntax; it's pretty heavily used throughout the kernel documentation and doesn't seem to merit that sort of response...? [...] >> +The struct hte_ts_data is used to pass timestamp details between the consumers >> +and the providers. It expresses timestamp data in nanoseconds in u64 data >> +type. For now all the HTE APIs using struct hte_ts_data require tsc to be in >> +nanoseconds. An example of the typical hte_ts_data data life cycle, for the >> +GPIO line is as follows:: >> + > > When we talk about name terms found in actual code (like keywords or variable > names), it is customary to enclose them inside inline code (for example, > ``struct what`` or ``u64 what``). It's also customary to minimize markup. In the case of "struct whatever" the markup is actively harmful since it interferes with the automatic recognition and cross-referencing of the type. jon