Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp86644iof; Sun, 5 Jun 2022 21:57:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuyUBeKM/1H3ejrHv8GIPayrjlEhLxVHpuK4WhS9f4Ny2kTAWCgMqDeFhj9eqhhjE178rs X-Received: by 2002:a17:902:c403:b0:167:4a9f:2785 with SMTP id k3-20020a170902c40300b001674a9f2785mr15387535plk.67.1654491447211; Sun, 05 Jun 2022 21:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654491447; cv=none; d=google.com; s=arc-20160816; b=SFvZu7SDsuUyRkq47g7SggdETvv70+E5VPhgdiyM7D6Qt2ya55RkH+wY6KDDkB4jLC vqGqTne+pnMx23fmq39En/Z40arDElNaJnQixXRXTI3a8J7fu154R79mmHz8CaxuWc1k brSh08TlLLa/0yeSKdA4Rbervk9LMmvFRL2Dq2dX1R3qzaL1tfKCdzZDMsv+tHTHncgA qeHrN5YSsbfkivh2RYVftrgrDmIKtiEAPTtqdKss6VmQyWpUC+IOIw6J6X07W7h10I+Q uBZEaXqHLLeOe+pFWOfORiwiOqQMDmHmf7G5sSjeSjEnsTLjSVJ/IEmCw1ulsADahSAP iUcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=I13xghRJZ9qk6cykz4w1fDYTb/H8Sm22vdjVHXo29TE=; b=IqldJs9Lfqz+4ufSBsZq0XZcs50OyncaPnlS6rV+UQCrpqlqU/4x3j6YI0TkZfpM+R w+MuopOoPWckorTmBkQSM9B/aA5WMdRNPByfp5pjqGJdees9CcqG6BH6a16C8+QqkTdg eCi3LySQzd0LAc1/LlRA0/cqdN3PqIzpeQd4DGV9vrFer0vA6ox1+KHyfFJEU3AMu/FD dWAoOxXQjVKr/LKjw64U+CZXeqbGSh/65tr2rD83QeFjt3uNYo4aeDCdZMRQPiTM5DDY Ub9Zq+STsbbhPr+jcydqahrU9lOyZS55M3txw6F/1YZE2n7QF4XiLnQgEYvF4eyRB+87 n0oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VdmAmBHA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m12-20020a63580c000000b003c5f2c3ac7asi20420674pgb.28.2022.06.05.21.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:57:27 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VdmAmBHA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A8263E275C; Sun, 5 Jun 2022 21:10:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233484AbiFDILd (ORCPT + 99 others); Sat, 4 Jun 2022 04:11:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231828AbiFDILa (ORCPT ); Sat, 4 Jun 2022 04:11:30 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FCD438BC8 for ; Sat, 4 Jun 2022 01:11:29 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-30c143c41e5so102154267b3.3 for ; Sat, 04 Jun 2022 01:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I13xghRJZ9qk6cykz4w1fDYTb/H8Sm22vdjVHXo29TE=; b=VdmAmBHA6m7bm4C1XCyzAxo3GzpxdcMBRmGnlFBqYxTJLccgCZo4222kvHR9L/ZFqg yEtwitNUpVX8wc5cDxSYADo6KRiqOjnsk+d9+X/7i9Vn+eSkH6HDZulVWycy/dlcFVwS wrG3KhIFoyJwaaREbOCwu4cQtofeXqBu6gnXb4UQhKX8HOrxbZSGtkFs8+4NT9HiPRMV q/cLeEhaVBKcxN7iCP5p2vH5M37g3D4McCL7rERy4rzIRALiBL2UGUYbqWQNZiUeQvup PoDZS3uGmIdmVhAm4bCFoKhv7ykqZBoJOU6UJW2D6W4Lo+UAho8WEefF3qg5Oi0tQafL Z69g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I13xghRJZ9qk6cykz4w1fDYTb/H8Sm22vdjVHXo29TE=; b=x048JgP5SDXg8evkzh2hBv/l4ppyQGQrK2l9iM3WNKPwK5gVK1eOSFfrG5fJME09cJ 0SXmIPd0mQASB3+xNs//E/cJMyvUZrISQQd/9LARRTm66LJBLS5j+Ig4MbTYPFHOpkfn xbYEnqDPNhyY2HUEW3EVbxwKHX1mOTUg25invsf8JZsG/22zbhbqUPE2rV9+2hyPcaaB a/Co68Tv0mN0nW1RMJz5zcbLyEY0eX/FeXG5k/xayp7PBqwBdnDsrVyeGY4+X0+o6KTT hQEN4fT+Pqj77+wrUfKUok1LvPNiL4dIN9ou8/tGTmItgtaPJ2ZWKV5r3MXpCNXpX1ox 30PA== X-Gm-Message-State: AOAM530UrU4MhcCc8M7zWkOMAZpZRM/qJd+2QPQh6i2aGnrviEH7KotX TdgdHufMO1U+FUJYX9G3+DcpK+6HcaXku6t+DtZ+9Q== X-Received: by 2002:a81:1154:0:b0:2fe:d5a4:f26b with SMTP id 81-20020a811154000000b002fed5a4f26bmr15921192ywr.140.1654330288381; Sat, 04 Jun 2022 01:11:28 -0700 (PDT) MIME-Version: 1.0 References: <20220603113908.78777-1-thierry.reding@gmail.com> In-Reply-To: From: Linus Walleij Date: Sat, 4 Jun 2022 10:11:17 +0200 Message-ID: Subject: Re: [GIT PULL] hte: New subsystem for v5.19-rc1 To: Linus Torvalds , "D, Lakshmi Sowjanya" Cc: Thierry Reding , Dipen Patel , Bartosz Golaszewski , linux-tegra , Linux Kernel Mailing List , Mark Gross , Andy Shevchenko , "Saha, Tamal" , bala.senthil@intel.com Content-Type: text/plain; charset="UTF-8" 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 Sat, Jun 4, 2022 at 6:38 AM Linus Torvalds wrote: > On Fri, Jun 3, 2022 at 4:39 AM Thierry Reding wrote: > > > > Note that this currently supports only one provider, but there seems to > > be enough interest in this functionality and we expect to see more > > drivers added once this is merged. > > So the "one provider" worries me, but the part that really doesn't > make me all warm and fuzzy is how this came in at the end of the merge > window. Another provider did come up, and were requested (by me) to work with Dipen on the subsystem in august last year, that was the Intel PMC in the Elkhart and Tiger Lake platforms and forward: https://patchwork.ozlabs.org/project/linux-gpio/cover/20210824164801.28896-1-lakshmi.sowjanya.d@intel.com/#2766453 [I added the other Intel people on that submission to CC] Intel wanted to put this into the GPIO subsystem and what I saw as maintainer was that this is a general problem and general purpose (binary) I/O just isn't going to be the only thing they timestamp. Other events will be for IIO and hwmon or whatever. They have been requested to contribute to Dipens work the recent 9 months ... so... well I understand people can get other priorities and stuff. Dipen did the right thing and created a separate subsystem that is a provider to GPIO and can be a provider to things like IIO as well, which is what it needs to be because for things like sensor fusion and industrial control systems in general precise timestamps are of uttermost importance. And IIO handle a lot of sensors. > The DT bindings got the comment "why call it 'hardware timestamp'" > when no other case seems sane. Intel is talking about "input timestamping", admittedly it is done in hardware but the point is to timestamp input I/O events. > So the DT bindings got renamed. So now part of the code calls it "hte" > (which nobody understands outside of the hte community that is > apparently one single device: Tegra) and part of the code calls it > "timestamp". HTE is "hardware timestamping engine", we have hwmon, hwspinlock, hwtracing so maybe hwstamping would be a more natural name then? Yours, Linus Walleij