Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1779458rwb; Tue, 29 Nov 2022 19:42:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6vG46KB71ci+UPvh+ScovxlydAWpxw2hxSj4U1ewYw0izcujSxwr7uPAVEcklK6qDwjtnr X-Received: by 2002:a17:906:4717:b0:7b9:f0ae:f492 with SMTP id y23-20020a170906471700b007b9f0aef492mr28865420ejq.559.1669779754224; Tue, 29 Nov 2022 19:42:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669779754; cv=pass; d=google.com; s=arc-20160816; b=NS5aNLHaO9yxr8I9WRbiD7zNMAYQzSEGD5Plr3gmLcIQFNINjage7irS0dnthxOVKh +qZNY+X7R4XmK8nv8bS9FqRsIx8fZk8KcMS/sYbQItbxJVUqp6/zNAD7vNwU6uIUrNZT yYUd8VxKrAkTS1vY+WL/V4bE+ch8XHbUKE7qvUn5hJJtCHRUfr17cdLqwJyWt7CADulY /Q1/ht2DY3IJaixzs+U+Fz/PGKGzLrg0uG91RGFosXVsJQY4sqM7SCCqgf+ZYknpIC+Y 26vJhkdJ2qHSHWa4zMk6gwiuY6pyrO9MdDD0VuU/psEHszaDMuPlSzNtFteXn7rwhOTc xtjw== 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:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=D+Kb6AVSSeOXrMO2JmrC05GzN9GQ0F9gucSEQqt2NnA=; b=nXTN8rBd1EFM8s8Xs+kBM5boXqDIoOddwhmn3sUVPIy+tl6En7F5CbcKVG4nqlybso Bb3tdG6jrd/43Hr+sQIfbvTvSRNbmDjmDA930WyltaO+0X9yEhHxJdECyAKlAGZ8FdXh KbP1eZWUYULAqVR2weQmTfx152/079qXrAyPGP5LANlT4gUQt5yluOeKcEmCOIPXjQid aqSXRUyuv4cao/OMhlNWZh81bVMEq+xZt3S3VOTSsqWFOeTGALfinTrBEPeMQnALoHk1 P2+kPfn8+oiPlBtc9OTWjdBGJ1MwyZdpzOGh9U34HrUgLKozfbc2xJ7w5GH6ORBCebkl Fx3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=EqoHlItR; 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 dr12-20020a170907720c00b007ae545e330csi405516ejc.218.2022.11.29.19.42.11; Tue, 29 Nov 2022 19:42:34 -0800 (PST) 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=EqoHlItR; 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 S232336AbiK3DY1 (ORCPT + 86 others); Tue, 29 Nov 2022 22:24:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbiK3DYY (ORCPT ); Tue, 29 Nov 2022 22:24:24 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2074.outbound.protection.outlook.com [40.107.243.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB95371F05 for ; Tue, 29 Nov 2022 19:24:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sxgwl88gbuDDLA73KdUYVPxPuwcPrLuYlQxSXfl8cSp4vVM5FY5+0IkzVksxAU9EhvNiXXG4ZFG1WUvqDjZdGvh9+rvCnWDcgmIU0S3IJWZksICOC4Zcfa6C4AtUA9ICCX6BNnSGDO0pixTbxk6r2hdDp3O4noof6RjyDQJzHIvs56m1tblfI/XGZdAvECFbvEVKektFXUizVeAcr43myezIng0OmiZrWKLER8JeJJJfdjoySBjpzz7xay2avDNgo5qnW+uat7yUyzSR5/KgK4v/5ehS1Bk9vqahk9YQkOEQbOP59Zq/eps+Ym8dKnvWSPtX/DByxInWfn9MdXuUBw== 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=D+Kb6AVSSeOXrMO2JmrC05GzN9GQ0F9gucSEQqt2NnA=; b=hrymfhzKYAJJj0akSrb6q0/LKrDn+8wZNpwPVi9Mah1nzy67lrJTzB530APZdaLUsfkpSTkanNDoVb+NS+XYWPl1IfADhTxfhdFDcJwjLSZElxBDNlYOX3YZz8DFQuWv5Y1FC9cMNVCXI1XNrRPm31UqEgNlwYJoHF+xRWw/02v8lpsP71LaoBaaCQMdtduSH2lnrCrQ29i9M0XHKvRV8qklHLr9RXiD0FRsAanNZCwjeMYBmRmDjZfysF62vw/ZNnwaYfGdUHScdRvXEf1CacvqKBo5K90QQkAdenrffl9FSP56L61TiHNXochrMcdYnAQT+lSNCqq80QS7R/4Zvg== 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=D+Kb6AVSSeOXrMO2JmrC05GzN9GQ0F9gucSEQqt2NnA=; b=EqoHlItRSW952G/IYS6gEDWAsO+9w9uh4T0reu03xy3IHueJAO+NYVfIhL9wSxJhHPwRR4DkDT5ve5gUwjyDAKcI4JdS+e2otoc14aB3PGg8Yb9HrZLcu2rppiQ5zFsWHOMj/YouzCknzHMvaIhgjlKBYG9iXObUnIzKbQ4SF3FXdqpr68IV8tVgL/7pC66RfogFJ9qVFMNa+mQmxQpd3GwEwwyBndPX4gHtPUkulw6zGUkTKKxZXQcJP/tUJs7lVn+K5vSJd7cDmx5WsKLZfaogeuSj9QUES3G+0h9uefMQDpGxRgA45/sLpguEccZACfvcgQmTj/cy7GLFTrVvcA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from IA1PR12MB6604.namprd12.prod.outlook.com (2603:10b6:208:3a0::7) by SJ2PR12MB7992.namprd12.prod.outlook.com (2603:10b6:a03:4c3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Wed, 30 Nov 2022 03:24:18 +0000 Received: from IA1PR12MB6604.namprd12.prod.outlook.com ([fe80::2349:ec6b:2442:8c52]) by IA1PR12MB6604.namprd12.prod.outlook.com ([fe80::2349:ec6b:2442:8c52%3]) with mapi id 15.20.5857.023; Wed, 30 Nov 2022 03:24:18 +0000 Message-ID: <34baa0b1-72c3-e4b3-3eaf-9b07fe86c3df@nvidia.com> Date: Tue, 29 Nov 2022 19:24:15 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: Intel timed i/o driver in HTE Content-Language: en-US To: Linus Walleij , "N, Pandith" Cc: "linux-kernel@vger.kernel.org" , "Hall, Christopher S" , "Gross, Mark" , "Sangannavar, Mallikarjunappa" , "D, Lakshmi Sowjanya" , "T R, Thejesh Reddy" , "andriy.shevchenko@linux.intel.com" , "timestamp@lists.linux.dev" References: <7de35859-97ab-8e88-f590-d5851b81773b@nvidia.com> X-Nvconfidentiality: public From: Dipen Patel In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0238.namprd03.prod.outlook.com (2603:10b6:a03:39f::33) To IA1PR12MB6604.namprd12.prod.outlook.com (2603:10b6:208:3a0::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR12MB6604:EE_|SJ2PR12MB7992:EE_ X-MS-Office365-Filtering-Correlation-Id: ccdd3e9b-245e-4dbe-91e4-08dad2825da4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0xxuBIZ+bUuscCYYOh0mDzsAMV8F6XOcwpqMaxq5MMbaFwYTG0gyYNIpQQKUI4Rh7RE/wXLtia+aEbn2Y+fHprHKuA1QfbNBG4/AgNdw/+HUMYAoXxvlaxwTA2N/dHM3lrbvVPs4xqSegfpTlc2CGOe/0Jmb7jgv9IDokIU81daSPeJOUE+6xqlRinSJndGPPNZxmACUcMfCdy4Ub22+YDi7UsGcBdP3SL5s0/wbzEUsTnViFyoQ9o68/1MUXcjqw/vMxqJU9izvODJJEwysBeEkyh2edHBxo6c+jKXnyIwTMtkx0dSPAqdz3pnM1tjFDjUGvv1g4hpxO6Hp3IFDo0Z1mkhV9CGHzc0uzvxCB+vEtflVunCcVK2No6cA9OCngN+/BwpneQNkxrldsZq/RAIiC5AQ59HHoq0hQFcSjjm/ooaLIHrZUTWU6LiU3qLYGaO+HxN7bUZNXDdtAjxcLFTeFlbMUEvCvDe+JjetQM9KbZgdKS6lm/azuVhXv621fXyL4poFonzYx1DRxgHLzN+HZhIw22spBTZGoRd4/LzUdJPFNgFAcm5D0sh75wOBXqZy41OQs9l2CDE8NernwRE3JmfMxuUjuQgeqrZu4lvuTeYCvhq7sDoezVopEw+/5VMTTBEacQTCdVRlFJHQa6hc3QqppLNE6557jEeZm2e9MQ+F8gJlkZPZN67pTxAEviE/Wk/pDESoyvSg/xlMCJoY/2wlpp+QfdkmDnarqJw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR12MB6604.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(136003)(346002)(376002)(39860400002)(396003)(451199015)(66476007)(36756003)(31686004)(2906002)(41300700001)(7416002)(38100700002)(86362001)(31696002)(83380400001)(6486002)(54906003)(66556008)(110136005)(316002)(66946007)(8676002)(2616005)(478600001)(4326008)(8936002)(5660300002)(6506007)(53546011)(26005)(186003)(6512007)(6666004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?THRyMU5UUHJXSldDdXpNUEo4L2haNmlKeE9YbVJLeEdBRDQ2Zy91TDB6WndT?= =?utf-8?B?Q0JGLzR6REZtdUlSbHpLbm5WTk1Ga2tNY1BicGtTbzhRSk96bHFwVjNPNVVo?= =?utf-8?B?V3Z4YWpweVVNVERaZEJMSjBXWWtwZXI0ZnBlQmp4OTBwWG1uck93WitqT1N6?= =?utf-8?B?T1FOQm41dTFHeDJLOVVIci9qV05LeUxvMGF6dVRGeGhMSGRqcllBa2ZSZTlw?= =?utf-8?B?UUoyYk9RYUlLbHExWmQ4NFRmdUg0MTdxSTVGeHNkZGtTQmhOQ2kzUzRNaVd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HQXlMMlNVVzh5OG5UdkZTSXBUY1RqMGY2aW9IZlpvS1k2?= =?utf-8?Q?l5wR0f6n13c1vLqau5XAKxQ2Z?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccdd3e9b-245e-4dbe-91e4-08dad2825da4 X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB6604.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 03:24:18.6712 (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: f65kM8WoZ+pwgZfMOBBgyS+A5LGUz7h+2xDbQkUxi4PG39D6/raIRE2vGXPOA9yGG21vSXCHOSmvrL084EN4Xw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7992 X-Spam-Status: No, score=-1.4 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 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 11/23/22 1:22 PM, Linus Walleij wrote: > On Wed, Nov 23, 2022 at 3:38 PM N, Pandith wrote: > >> Since the current gpio framework is inadequate to periodic output modes. >> I thought to disentangle from gpio and develop a new hte consumer. Something like hte-libcdev.c > > Maybe, if Dipen wants it. > Or maybe it needs its own subsystem. > Or maybe it should be with whatever is using these pulse trains. > Few things I want to know from Pandith as below: 1. Does timed io only meant for GPIO or other signals? if other signals, what type of signals? 2. In the output mode case where for example, timed io IP outputs 1ms GPIO pulse, does it also timestamp it for consumers to retrieve later? 3. Can you share rough idea you have in mind for the hte-libcdev? > Again: what is it used for? If we have no idea what it is supposed to > be used for, we cannot place it right, even less test it. I think it can possibly act as time sync server as one of the use case. > > Yours, > Linus Walleij