Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1900505pxp; Sun, 13 Mar 2022 03:41:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5tzzdTh7bUpDM7fGjmTONBv9FMEw3FindkJIHXEjAwCtFQxgXaDRxvcjiOwoDrdfR5V0d X-Received: by 2002:a17:906:7185:b0:6cd:e09c:e5f5 with SMTP id h5-20020a170906718500b006cde09ce5f5mr14862388ejk.287.1647168079032; Sun, 13 Mar 2022 03:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647168079; cv=none; d=google.com; s=arc-20160816; b=0NrtxswwSFjZvJhfMIWwXRwwgf5CvjzCCiXg3Hq1rDZzUkMVEazwBKK56eSJRgn8kp EDtyVKGHSlSOUDR4RU5PSTVXPKde78OnyVx+XaJeGivBbrAxwhb7UuqRSWNTuncBCxh4 KPoHB481T5CPHJcGUWz7bV57FSBWk5ilCOnOurQQtQq1tieqZLJQUBMn589LinXGQXRd /EzQedNnKSsh9BlIoJwFeqxgI8q2SE6pCSJoRGoNZFizMb9VUKJkcJvqkB8FhcOMimGZ pfScbvYA3JYcQalYHKPX7eXWjhvj9cyc+HUcljXrN1Z+GhJIHib+mvDBK9Gsp/0MVGnA YT2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uksUDscG18pH8EI9uIGKs4R4Dd0p9gKfak1RBaRXBys=; b=nVxwCLUt8epj/CQv5ObgHwhL8qCAVw1ijhjzErmKfvMy9qRhKOnRWduPJWW+iF9vPK QahwO9KVuhCXKMKMGf3IWWK9Fa2J5l5tE+cKcCfSah/moZVB/VmeyvX2iEJQlPBT55AV eeLHHFH2YtrbxIFlGYdXTHRsiOdrqHokpilBE6nGvMiRglPwU6xmppodeR5ffxlCucbn 3yPv7b96DVZbQCjrgHzf/jKrkrkYSGnWSs/OAMQfvYutUQrs8+mTBZuw2f0uvGwh/aVV lkcsHDdlz9pxvxSihvKSyLPn+JDT79wUEVksog6woeiKvTu1orvB2P1P894RCdNh3SVv Ts8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AHhiVJ3U; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kz14-20020a17090777ce00b006b3ee46054asi7725628ejc.124.2022.03.13.03.40.53; Sun, 13 Mar 2022 03:41:19 -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=@gmail.com header.s=20210112 header.b=AHhiVJ3U; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233514AbiCMEF0 (ORCPT + 99 others); Sat, 12 Mar 2022 23:05:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbiCMEFY (ORCPT ); Sat, 12 Mar 2022 23:05:24 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD5D28BF3A; Sat, 12 Mar 2022 20:04:16 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id bx5so11542742pjb.3; Sat, 12 Mar 2022 20:04:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=uksUDscG18pH8EI9uIGKs4R4Dd0p9gKfak1RBaRXBys=; b=AHhiVJ3UBkF49PV21p3KrPS9TLHac4Wb9F+3IGlTDZiDKwNLoLSCK7ymCrBjA/FB8g ymqHVMjFIl9JYl7Iu1Ge3wb3XNw1xesgT+ryR1GjrpuDxeEHCCnl/042FiL+/OS2evHF H2V5167S7Y3CWJhqaFveCWGFGyVfHP0NcfRZJhxMby5oCauTRuR1WBhhdjKstiqu2YSn WPfwG36Ugd7IBxh6uLZbE5y06m7q3+bl68he0wEMpT387ke8irt00/kGEHuLMJjmB82o qUlZlOvCSgw0wcF4AOuTUkD5jDpebm8oh77B/OQEvPMro3s/wrqUTUbCNGnRB9EeSHsJ kuYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=uksUDscG18pH8EI9uIGKs4R4Dd0p9gKfak1RBaRXBys=; b=c8WkZiLo0k3jBta5YwQVQJ1rhPBO+Bw0yC2xA/8jbBgpfYmYfZqrFF8JQp5BLXNv1a fOU1aeWRza6MGH+3qHby3+G5iVKZXv8A7t+GNhVbVCMtuXRl/MRjKVW4iSVqCBGPIM35 ZW4olnH2BPpD+u+K+Bp6J04bH6Sr5lwQv42MRs3VrOrU4OP6b1xPS4GlkoRJUOliAvk2 EjY/mQj1se9X4gcvJXtSSgheqn3YjY0m836/WTZF/oSR6NJv/Jw1klEi1kz3A9rqd+Oq SFezF/uibq69uQSFz24vxel6zxsLaMJtZfhGbf8x0D4CsLLzdjYpKcsPACq1wEdgowA3 5ncw== X-Gm-Message-State: AOAM530LgWfI2jgjbvMih3+gjVHZ1bbtVMyiyhi6gbhyg+/Da1GrN3yE xXlnhudAr9+dTTpnCb4/PRI= X-Received: by 2002:a17:903:124a:b0:153:47d7:de49 with SMTP id u10-20020a170903124a00b0015347d7de49mr5921852plh.81.1647144256165; Sat, 12 Mar 2022 20:04:16 -0800 (PST) Received: from hoboy.vegasvil.org ([2601:640:8200:33:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id oo17-20020a17090b1c9100b001bf0ccc59c2sm18337904pjb.16.2022.03.12.20.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 20:04:15 -0800 (PST) Date: Sat, 12 Mar 2022 20:04:12 -0800 From: Richard Cochran To: "Allan W. Nielsen" Cc: Horatiu Vultur , "Russell King (Oracle)" , Andrew Lunn , Divya.Koppera@microchip.com, netdev@vger.kernel.org, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, Madhuri.Sripada@microchip.com, Manohar.Puri@microchip.com Subject: Re: [PATCH net-next 2/3] dt-bindings: net: micrel: Configure latency values and timestamping check for LAN8814 phy Message-ID: <20220313040412.GA30488@hoboy.vegasvil.org> References: <20220308154345.l4mk2oab4u5ydn5r@soft-dev3-1.localhost> <20220308221404.bwhujvsdp253t4g3@soft-dev3-1.localhost> <20220309132443.axyzcsc5kyb26su4@soft-dev3-1.localhost> <20220309195252.GB9663@hoboy.vegasvil.org> <20220311142814.z3h5nystnrkvbzek@soft-dev3-1.localhost> <20220311150842.GC7817@hoboy.vegasvil.org> <20220312193620.owhfd43dzzxtytgs@den-dk-m31684h> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220312193620.owhfd43dzzxtytgs@den-dk-m31684h> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Sat, Mar 12, 2022 at 08:36:20PM +0100, Allan W. Nielsen wrote: > I did skim through the articles, and as you hinted he does find small > latency differences across different packets. (but as I understood, very > few PHYs was tested). There is also previous work cited in those articles. > But this is not really an argument for not having _default_ values > hard-coded in the driver (or DT, but lets forget about DT for now). You put them in the DTS. That means you expect them to need changes. DTS is the WRONG place for such things. If your numbers are perfect, then do the corrections in silicon/firmware. If the numbers aren't 100% perfect, then provide your customers with a test report providing the recommended numbers. Include a proper explanation of the test methodology and assumptions used in your analysis. Heck, you can even given them linuxptp config snippets (and other for other popular PTP stacks, Oregano, ixat, ptpd, etc) Don't hard code random, changing numbers into kernel drivers. Thanks, Richard