Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2010825rwb; Thu, 27 Jul 2023 00:08:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlHeuJ0DBlnBg9iquo2YwWiYRs0JEJrRNvPeN9GeES+rdExqqHnES/sKwHYhGwj+K2bdmgbO X-Received: by 2002:aa7:c0da:0:b0:522:2c36:4c59 with SMTP id j26-20020aa7c0da000000b005222c364c59mr1087633edp.4.1690441662003; Thu, 27 Jul 2023 00:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690441661; cv=none; d=google.com; s=arc-20160816; b=dp6m1iU5nqhGtU0rdJQ/Xo8L1B7khf3NdN5d24/hIvg3r9S7CpXFEk8qTPvuyWwh8k 8o5MyH906qMB0OxsculRZbA0iMGjhQOSyEicVCubdxQ1kx6hblCxmrLor2QZhmkrvSpG rST2xuczQzVnOWY15Dn60/S0puZFvIDMwZN/KDkFvjPGY3/mDUwdsBSoO57KbXDY8DmD VpRV1B1e9cNWsKCN+ZfHI0EWj/J1QVBNuANOHDc8+cLvTabsBJSMJZOWGmfEbHHyYIVZ xp6doFzv5a5kTVg/r3eq0eTIXevoWVxk0DPwwssJhxZOBJpYiiX8IwTW0P2kDsnlObOQ XwbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=J/jABavhnLQ6gka51jU2rCr7lSqzsGLbXCrOQGdfE00=; fh=f0RW5wqOqNw8tMGF+hFd5EIRxHYSrNaXOYpMnTkGSio=; b=ucg8pG1AA0EkKOfC0kTaZphciOdl4LYZQI9iYkgvG3Uqmq/Z7OMut63l0l+KFkV181 CYv1/fGOAqJfYd/REZUPuWySoJWnQ7suSyYprK2ed/v4u/IM2IQo8lMYORK2ZrfxAdl4 yE8Mq7h/6ZhYxg237yqsb2wXaP87rKo/ciP3uBJKxovqqQ0Qtg0N7ln3Ks5o/MSWuN4T 5OdeWCL8FGArPTwGh/WGedD6SNf24sxQEqjoUGHCL3IAJm0/6HbpiiqEOeec91CExzxE ZQoWP1NATvcm0dZGewzDi7dBWmQD0ZNqIkskJzeoKux/LbuShEZKcx3rr+LGPPwQVt2M jUFA== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020aa7d40f000000b0052257a1ff3asi503184edq.464.2023.07.27.00.07.18; Thu, 27 Jul 2023 00:07:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232079AbjG0GmG (ORCPT + 99 others); Thu, 27 Jul 2023 02:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232862AbjG0Glq (ORCPT ); Thu, 27 Jul 2023 02:41:46 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1FD42D4E for ; Wed, 26 Jul 2023 23:41:27 -0700 (PDT) Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qOugC-0002Bi-91; Thu, 27 Jul 2023 08:40:56 +0200 Message-ID: Date: Thu, 27 Jul 2023 08:40:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2] net: stmmac: correct MAC propagation delay Content-Language: en-US, de-DE To: Richard Cochran , Marc Kleine-Budde Cc: kernel test robot , "David S. Miller" , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Torgue , Eric Dumazet , Jose Abreu , linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Giuseppe Cavallaro , Jakub Kicinski , Paolo Abeni , linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , patchwork-jzi@pengutronix.de References: <20230719-stmmac_correct_mac_delay-v2-1-3366f38ee9a6@pengutronix.de> <20230725200606.5264b59c@kernel.org> <20230726-dreamboat-cornhusk-1bd71d19d0d4-mkl@pengutronix.de> From: Johannes Zink In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: j.zink@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Richard, On 7/26/23 17:34, Richard Cochran wrote: > On Wed, Jul 26, 2023 at 08:04:37AM +0200, Marc Kleine-Budde wrote: > >> At least the datasheet of the IP core tells to read the MAC delay from >> the IP core (1), add the PHY delay (2) and the clock domain crossing >> delay (3) and write it to the time stamp correction register. > > That is great, until they change the data sheet. Really, this happens. I think I don't get your point here. That's true for literally any register of any peripheral in a datasheet. I think we can just stop doing driver development if we wait for a final revision that is not changed any more. Datasheets change, and if they do we update the driver. Johannes > > Thanks, > Richard > > -- Pengutronix e.K. | Johannes Zink | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |