Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2638812rdg; Mon, 16 Oct 2023 10:06:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOyo3Lt+71zQa5oxFoRpn7/g5sLxeMBckBVJ+NbWBB/gE8jv04FpWyn57oMuxY/JzZrmzZ X-Received: by 2002:a17:90a:5d18:b0:27d:d9d:c54d with SMTP id s24-20020a17090a5d1800b0027d0d9dc54dmr14366063pji.34.1697476005748; Mon, 16 Oct 2023 10:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697476005; cv=none; d=google.com; s=arc-20160816; b=akn3OP+6HrDx4NwK8A2fLqRYIo9HL0Xna/I/EnqtzSh+5rZO47mwWv3+/oc60PBWhq 5sxbWDFCl2dbORqgOd4mEthgnoB2Zc64tn64B3hLWzeZNoeLXvoT4D3T0AvXlG/FdkOE lAq3Ib+t7TE/elYIEJRo5CXUMCFVda7XqeDsE9oTPY4F1r362rv+QAr9XZP5RdktZ3hZ XUi6bHLWJDVmgEifWrzDgrjS+NTlnHTvW8P+k89gPa8hAjMn6Mb8QwX+73J4xN/3QBiE YfHgAjnlAvUM/zV80nEPC+JH9jr3MHnd8cQwn/4HxmoWeq2Zs6g+HsSwt4qkC2liobjY Sh5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=/lfECgoJN8Dz2sf6uYOA+l2lSQOJQ8yJT+docB2WIf8=; fh=XxyL1YgQZIJ7RHzZjvuIj0NuuyJjUDOxO2YlN4b07X8=; b=PJzibZEVRrCEfQFWEHYcMN2p9s+fuvQHEFpy106KXFnToZ4WcfoFArnIKk/gXqBCgr 2fYmfQafGx2kvE8u60V8XcmUDS203VZHXyfwM+5x38ai8p58PTBKwMKxLTxnIOCDnIqS GbIvqPMTyabGenlQhqa3LDfzx1pFHqDHPP4AR1dwxDJ/b5WJaiUdGXOkw6MtdsL0AJ90 /iyVOj0zLNZgDSIf63LTyp5O5vdMPwG47uwuLNZnORuAYIGhj9Ut5qEGEBLdESUR9gNT kM8oH0jwcahhizYniDNd8sh8zPY5T9CqHzv/tgpKVJb0Q9GsbINcSFssuAmVw1MhzDdj 1+XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EH4nY8b7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id s130-20020a637788000000b005b43f17562fsi1457886pgc.266.2023.10.16.10.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:06:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EH4nY8b7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 782F280A1670; Mon, 16 Oct 2023 10:06:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234414AbjJPRGT (ORCPT + 99 others); Mon, 16 Oct 2023 13:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234544AbjJPRFp (ORCPT ); Mon, 16 Oct 2023 13:05:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 732B71709 for ; Mon, 16 Oct 2023 10:03:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D479DC433C7; Mon, 16 Oct 2023 17:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697475796; bh=Vx73FpVlkBN9x5VuKdWHHh99ktLX7tsDFLYW1HUCKH4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EH4nY8b7LAH1scjlTuimouVGxGT5eSdosXd9Se89Zx5CvqrOAtDsHntyKHAkUkpWL oa35WUwna7wUxKwdIg/AEs3t2dKClNvhXKrst+SSqGUCE0iTtJaOMfQmOtW8lv9V24 VLNLgQagLyI+FwKISdE+NzYGMpS+VfTxGH5JHg3ohzagV9hEluwUtlsNXlsMqjY3Zd WzLhmkzP2A3RWj/ygqZIu82vGEv/P28vOmw8zVUA6n4EqZGc3s1fCZgxqB+ei/37Bt 5dNy+9+OSlw5dKS1OHCl/NutMIrnXlfsPQ+oXGFb46dXXHEpiZwwlw3U4vGTxmkCXx N10yao1Q8PJ8g== Date: Mon, 16 Oct 2023 10:03:13 -0700 From: Jakub Kicinski To: =?UTF-8?B?S8O2cnk=?= Maincent Cc: Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Thomas Petazzoni , "David S . Miller" , Eric Dumazet , Paolo Abeni , Jonathan Corbet , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Horatiu Vultur , UNGLinuxDriver@microchip.com, Broadcom internal kernel review list , Heiner Kallweit , Russell King , Richard Cochran , Radu Pirea , Willem de Bruijn , Vladimir Oltean , Michael Walle , Jacob Keller , Maxime Chevallier Subject: Re: [PATCH net-next v5 08/16] net: ethtool: Add a command to expose current time stamping layer Message-ID: <20231016100313.36d4eab9@kernel.org> In-Reply-To: <20231016182307.18c5dcf1@kmaincent-XPS-13-7390> References: <20231009155138.86458-1-kory.maincent@bootlin.com> <20231009155138.86458-9-kory.maincent@bootlin.com> <2fbde275-e60b-473d-8488-8f0aa637c294@broadcom.com> <20231010102343.3529e4a7@kmaincent-XPS-13-7390> <20231013090020.34e9f125@kernel.org> <6ef6418d-6e63-49bd-bcc1-cdc6eb0da2d5@lunn.ch> <20231016124134.6b271f07@kmaincent-XPS-13-7390> <20231016072204.1cb41eab@kernel.org> <20231016170027.42806cb7@kmaincent-XPS-13-7390> <20231016084346.10764b4a@kernel.org> <20231016182307.18c5dcf1@kmaincent-XPS-13-7390> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 16 Oct 2023 10:06:28 -0700 (PDT) On Mon, 16 Oct 2023 18:23:07 +0200 K=C3=B6ry Maincent wrote: > > What's the reason for timestamp precision differences? > > My understanding so far was the the differences come from: > > 1. different stamping device (i.e. separate "piece of silicon", > > accessed over a different bus, with different PHC etc.) > > 2. different stamping point (MAC vs DMA) > >=20 > > I don't think any "integrated" device would support stamps which > > differ under category 1. =20 >=20 > It was a case reported by Maxime on v3: > https://lore.kernel.org/netdev/20230324112541.0b3dd38a@pc-7.home/=20 IMHO this talks about how clock control/disciplining works which is a somewhat independent topic of timestamping.