Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1343336pxb; Wed, 30 Mar 2022 00:52:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxANDSfacbvIhNCxx9gIUSGeuadAZcBlWhVuZvExlVCtoxfO+QP+hUTKt9a0uYpURGld2s8 X-Received: by 2002:a50:f19a:0:b0:418:f94c:fc24 with SMTP id x26-20020a50f19a000000b00418f94cfc24mr9205812edl.34.1648626748900; Wed, 30 Mar 2022 00:52:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648626748; cv=pass; d=google.com; s=arc-20160816; b=SfaYakzZF/H0Ho3zxeM5zqj2T6ONsfg6ZApoQS/2VldT4RV/G6BKkqvsWQph0qF01I P4OlDdMOc5m5UAG1Wc6MghOBmt0+XSL41l+TIrwQ75qT5jXqrBAd04HU9fTa0w6fI8Ho O6Hkz+VSKFSr/gSJ6/lzznmNJ+OW0SJcIvnAfYzcvMwZI7GEpMOu7LyKuFtjp0fTs541 7TH9KakmMdtr8L0KHJ/diIcGZJXDsE+C8ElsjM00VSsXGT9m7jh8WfkqQnZINSg6AtSZ m9v9SC/b3U1hF27CmiVSGN/Os3tzFSo+z5OErRYOmZRy+azy6MiD/7tB6ym/g+5kZDRI nxnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id:dkim-signature; bh=r436ABFRBmYx5H2l0NL/+uTqFpn5mY4gpIkMnvulqec=; b=pOvsdPx5DYI3S/onapokuArq37Xyuw9Ce4fkcOvKQPa/w4M0IOOTZ0ni+NK4A3BTPy wwTEpw9xGbtUcbwmXXTGdKWOLER9NdpbYxck+w8SP5mzPsaruXpVDyamhmALC7sBeuPH /aVwl2f2GKdzAywlL0XvabTJgh3cNM2oix1IySTVDP5dkx9iAfjCMXCcBZUoe9vTBhex Y59mXAkb7UHysSXrmhf9RLEfPJrNjzSPtnfeE0QCpTLkyWr9E7V6hMsXl4fZ/+2tzA1r pP135rdroDDqXS4Kb3iqhL2GmbhesHhH3lHAAUHoNeyHDVTBY2qTBmYMjpjVhDhBg0jg NWhA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b="qLhAp/w4"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a1709064a4500b006df76385e1dsi20377752ejv.701.2022.03.30.00.52.01; Wed, 30 Mar 2022 00:52:28 -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=@Nvidia.com header.s=selector2 header.b="qLhAp/w4"; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237863AbiC2WkN (ORCPT + 99 others); Tue, 29 Mar 2022 18:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237034AbiC2WkL (ORCPT ); Tue, 29 Mar 2022 18:40:11 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2063.outbound.protection.outlook.com [40.107.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 155CB54F96; Tue, 29 Mar 2022 15:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Acc3sfffs4i67Qx9Y2T7XGDwSb8n3zrl8iwDl/ZNf66vCDNfoJa8cat7JKEOSMWGXkul1rhD34xArK3NQXRxRAJxDoNpn0l4V8nhAzidI7ClS0yEsnfiLfqbmA/8iYR7w9iccej6WRgRAHRg9KMk8efnK3BVSzsMTqKIh8wgqPjppHHITQZr3GP24jX4AjnAbX7ZQYpH9oP53rlsp9mwtvsrdzezwLPgiQwmzww+fE2gpGPUJh7tqwmMJUoEtdxranR1LbcQt92LryCdoJZN35MD+xGduGmmFU/kLIgH1uydA258FGtyWiJNb7N8Z7UxTDTJQv2WU8QST8bDOX/cRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r436ABFRBmYx5H2l0NL/+uTqFpn5mY4gpIkMnvulqec=; b=eX2BIj6jqkqiY1iVOLqF0NRmP2vWTiO/MRL4l69jveX2LxQiID7Q2z+dRiqemgnR12FTZRRXpgGQcGKN95hB8cPSM2DXG+ilWwHswR1K52eAWDBkGIUhdgmT/D31yq9voAD2126qikVl0u7MWCxuLBDzCXMKUAvRhiTZcjKJhXQSXtSI82xDQkbRnT8oDGs0rO2Bc581wtBnz2m3CzXh2D2z8N1bzy8/2xFAPNo7UQyu5xQ/H4Pe8K8yAEswd4DmaYsoeoDbdtHxu2MD1XuXBO5+LtfeKypIVKAkLJopiZhm3gu1rUzmMIee7ay7tBEMJLhomtU65YPL3CvBWiQu5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r436ABFRBmYx5H2l0NL/+uTqFpn5mY4gpIkMnvulqec=; b=qLhAp/w4SV1bwYWiMW3uBh+tYUaLkt3gdfJUSbIK/vdskwZMp0NP37MSpbhLcpYh0NTwYeW/JNNhX1isfq0XKrblz96CXSs9g/f22RZvpo+WODSZ4xPosipYIbQOCAWqXeFhqOb7EGyYmqgq4XIouBiQtOzN3cuccZjqVhVPI65ruMhNisNgMQCD8CziIM4gzA6/cyek9DYr8yAHTPDNw2/FOfVxk+0MiOppJT6iAjdAgIF5fDOOVaEJY7AYbxJUKeUrQVjDZG50Lp0P5TSF/AuNpYcLmXBT53bAt+u/Y0dx+PmfkTIlSSuccW9hhtZ/pM9vs47zu56u9ZCThpOpSg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4116.namprd12.prod.outlook.com (2603:10b6:a03:210::13) by DM5PR1201MB0169.namprd12.prod.outlook.com (2603:10b6:4:55::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.19; Tue, 29 Mar 2022 22:38:24 +0000 Received: from BY5PR12MB4116.namprd12.prod.outlook.com ([fe80::8940:4e31:b98a:c02b]) by BY5PR12MB4116.namprd12.prod.outlook.com ([fe80::8940:4e31:b98a:c02b%6]) with mapi id 15.20.5123.019; Tue, 29 Mar 2022 22:38:24 +0000 Message-ID: <954bbab1-65c9-e909-d41a-e730433a73c4@nvidia.com> Date: Tue, 29 Mar 2022 15:38:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v5 01/11] Documentation: Add HTE subsystem guide Content-Language: en-US To: Jonathan Corbet , Bagas Sanjaya , 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 References: <20220329054521.14420-1-dipenp@nvidia.com> <20220329054521.14420-2-dipenp@nvidia.com> <875ynw7p9x.fsf@meer.lwn.net> X-Nvconfidentiality: public From: Dipen Patel In-Reply-To: <875ynw7p9x.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0064.namprd03.prod.outlook.com (2603:10b6:a03:331::9) To BY5PR12MB4116.namprd12.prod.outlook.com (2603:10b6:a03:210::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 83f05799-f8b1-4600-da31-08da11d4d567 X-MS-TrafficTypeDiagnostic: DM5PR1201MB0169:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZAs2e6Hk7kUvrEjlkIwZr7WcOo1+bWvGZ1hKLeM+jDCeeEbWRzZESzhBCzLHP3b3/8PQVYQ96w/i7afdZ8zq/upi9sPQsKD2pB/9K62JxeoWyKths56lPbKqyJFjR29QSMzqjSibJaueqKbgguhCMcLaNDJ4drnnsGef+PSL6kwMkaTsjJbT4yB8SYBBVs8fpWL8aMzjhxUtaF9BGwo57zrr/Npy4fzWFGTQBSO6YgsB486HtBgCXUxgszySDZwstu89Dg9iTxWea4SmuFlyhnGYGJUAZjd2XrjqrTAVnf/DzQjSuUHUrEK3INlHHbdeAtYJnxfLDEe7rhXwB9cU0VqLFwtUcLxMZ5j+T/kY76Nka87+AHiOX6wCoGQI1VpQiBZ48So0oogrTSK2ss/3RZG3yBGEBCOE7lQQVxJ6a8nY9jtv/UTsGVbjUeC0wvfM0Xy09V0drMSCe6xd+t0+HoHgsRXKvPwTQ8eu4Sl13bgQ7cne9xmxPDXmqI9e91QAzcYrUYkcK9h3TQXpJoLEp7qRXa8BR7Nzgjocmc7OyKmwZj07JmF7nqqxlcUb/m4N93s4NlRmT0CWZCk7nPDN95+RdOVQMzIhNfJMCBoQ7/SN6KCrTQhAlxTD7uM4e1AGqRqtoiZJ9rOeA4vsUH7LArICjOHhevlRUhYbrZ6ENoaWpwjPij4aJChY+RV+IA0mYs6uvs445q9+Zd1iND2fCyTCxnjWbbuwJ57ci9GFpOvYXf7m9zeDwZQ37Wno8kq8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4116.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(2906002)(8676002)(508600001)(6506007)(36756003)(110136005)(86362001)(6486002)(316002)(66476007)(66556008)(31696002)(31686004)(53546011)(6512007)(66946007)(921005)(186003)(26005)(83380400001)(8936002)(5660300002)(7416002)(2616005)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YlVzVkxSNE5HSFZBQ2k5anpDejBEcW9nMjJZQkpsdGlmcEp4ZGRFUmxBb3hk?= =?utf-8?B?L3dTWjJSOVAxUXBvRS95RzIzUXBpTmI4L0Fhc2YxQ1VZYnhkeTRENjBaTUJN?= =?utf-8?B?NlpSZUNUUzNoNCtJVDA5RkJWL2R3UnZMRjdlWDJoRWtEVFVtM1ZBb1Z2QXR2?= =?utf-8?B?ZW1KajdoWTdLcXdxeVhSVEVpV1B2eWZP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nMUg5Z0lFQkdhS2FmRnpLZGV3cHdBMndaaHZOZlliam4vODhG?= =?utf-8?B?Rys1THI0UG4xZVU5bTRlM3NpaGZGcGk4M1k5QzlTQkpJb2dtTmpUZjFIWlg4?= =?utf-8?B?QlA5OWh1NTVjSFp5c2gxa0pGSjJ1cmlFaWJLNlVYdkZtMHI4SEFRbE1yUFN1?= =?utf-8?B?dmp6Uk1qaE9Ca1hJaVFtVUVHVy9WaW5hQ3E5U3B2MlFTaGt4TmpvTEZCYVpO?= =?utf-8?B?V3o2RGcyVG1ocEdRaGNRK3Bub2lTQkhRMGNiTUxpeHY4bGVUNC9pdlNsZFZL?= =?utf-8?B?WTU5dHZ1ZFJPQXk2WThmMjhVV3daYkJFbHd2SUpYQmpMOXV6ZFJ2QT09?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83f05799-f8b1-4600-da31-08da11d4d567 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4116.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2022 22:38:23.9000 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2JV3nBkVPg+hD2HbvKv/wf6hyC2nwcD83hRW+SbboaIA/TOL6PwDSVACAP8fbYIcD3FN92OLtKRZ9F+Prv+gwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0169 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_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 Hi, On 3/29/22 8:27 AM, Jonathan Corbet wrote: > 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. I agree, I will keep only necessary reference in this section. > > jon