Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2411674rwb; Thu, 27 Jul 2023 06:57:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlEd3fPJD3QQZSeHziOlI7k34yhjmUALaS5hwaHU3RBe3CjWy8Q0t6wye6ncsBtTLgSMEoeq X-Received: by 2002:a05:6830:2008:b0:6b9:1af3:3307 with SMTP id e8-20020a056830200800b006b91af33307mr5083431otp.17.1690466276214; Thu, 27 Jul 2023 06:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690466276; cv=none; d=google.com; s=arc-20160816; b=rnGNUmO9QEYpegO7ZQ8FMJWD0IuQXJiaUua9YMnKryeapLarv84dPC3bSzuqowdsI7 sNr+eQAVRXCJcDZS6b4WHgI05ChKBTqYAqF+gpdMQrRBws5gz+g7nr0m2WK2gR59/Z0G jkd7I2ioZ2CGHK9Kc7FEYAU2KQAqxormXLFZqMTkKVN2ALqqcjd1ZnzJ3rdo1GMN3RPo AEJxR2P+gctns0tI84xWuUSIEa2wAkdp+pkyVECpc40Czl7ehTDu63vV30pD51DF+mDT bDXQLYDnIGbpVit2eC86XAoeUDgtuHtgE9HCXdDfDhf8JjBtOx/gthBFJ6CCzP16DE24 bFpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=q15IWYuI/5HXw0x/ECyva1u3J08tlhfzm/oK0Hr+ZKE=; fh=kx+6jIckpBa2AluN3RwWWhi/NI4PmBGJ8Dye7K/KKAg=; b=wQGCdpmLY6xQFCdlw6ImEFINy8GhQjDWOivIz6VE4IAEceXA5pEsIF2uhC9sNSOShp yxgsWprokMW6A01PcrR1utfPLcpgfnP3eTOJm+76e3a9PwBQ44/zXivP9k8GZGSjSISG GziTAku+/NigdQUjLV8T2WANhJ1Jyhm765Aqj41AhYJx/K9JrgZfIoZeodxE31Zuwtl+ hvk+FQSfQxQlM9dlvvetNEAFiJEsOMNPajEqJqKioyyIYwQ6Znx5f3tNVBNrYB1H1FRZ 1EQ00sEf1BNHBUyv4gRjGDxHMpCgBZmCD4dMI9sU9YbnL878gZ+D8m84RPBxMZeR+Cvd 0n7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kEIp9RgO; 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 v191-20020a6389c8000000b00534784002afsi1227483pgd.807.2023.07.27.06.57.43; Thu, 27 Jul 2023 06:57:56 -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=20221208 header.b=kEIp9RgO; 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 S233570AbjG0Na2 (ORCPT + 99 others); Thu, 27 Jul 2023 09:30:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233517AbjG0Na1 (ORCPT ); Thu, 27 Jul 2023 09:30:27 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B39442723; Thu, 27 Jul 2023 06:30:26 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1bbb7c3d0f5so1591325ad.1; Thu, 27 Jul 2023 06:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690464626; x=1691069426; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=q15IWYuI/5HXw0x/ECyva1u3J08tlhfzm/oK0Hr+ZKE=; b=kEIp9RgOgQCaTTw/aecerraAkoEs0C62NJdBO2YnNixfqY0YGhuogCBOWqDkHo4VAF S4T3rRczmfOr9MC2Q+7AVGn73DAWOVCGYolD9KedHNb1uPlHk39/58BVm5wHJj4XHmbn 2ZtUyXAdU9X5hXeGbiB/05wcHo+RlX/ERS7LcS5lTMBe6jydIXxxegosO64dfqnTQ27b AwCKxp/4+qQngkJVUxc853IjsxeIC6wo8wR/IeUSEg5WUy9rNnEnD/NvjeP25TsAC3Yx 3cc9S8IrwH95xEIPJWa4YQ9Eip3XO+bh2xoNgMtnx+kM6jNFWymrBjyMv2u+S0HnyKYa 367Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690464626; x=1691069426; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=q15IWYuI/5HXw0x/ECyva1u3J08tlhfzm/oK0Hr+ZKE=; b=Plb804pCaljkJFAXbZmyFJu0zsBSoG8oO0sEmpIn34r8IzX5yQ1ckCX6PviVCyKlQr tqdTgIkQxjoDkIqa3oCMyqhnGWkq5US4IDOEdhsv59Hf3bFDI4r159yCfUjV6Sj3gIek xNTxTIDZbnnhu/kVvn+5EVQyNT6cwxqDkt+2ldzrR9lveDzF+8flIaIhowr7O35gHdiE T5P+JNGmwExgRV6DkqI7S4jOIvrNN1FeQJ5IyKw4oMboplpoCbRWZYEVAgtwXE9JllNu EOAXpgV8KVqfik5FXFuv8POs0ClTwdGEBPoyWFNe6RP+Z+XFHRDGYXSeLfWvCdSIKbvm 301w== X-Gm-Message-State: ABy/qLYbnHhBkaCzBbXTJbNfZb2uJceJDevyywWkwuaDlue5zwtBGXaK UPV/s4A/dLnCwI3b8kp2kX174vtNoEQ= X-Received: by 2002:a17:902:da82:b0:1b8:811:b079 with SMTP id j2-20020a170902da8200b001b80811b079mr6462323plx.0.1690464626000; Thu, 27 Jul 2023 06:30:26 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:640:8000:54:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id v11-20020a1709028d8b00b001bb99e188fcsm1610682plo.194.2023.07.27.06.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 06:30:25 -0700 (PDT) Date: Thu, 27 Jul 2023 06:30:22 -0700 From: Richard Cochran To: Johannes Zink Cc: Marc Kleine-Budde , 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 Subject: Re: [PATCH v2] net: stmmac: correct MAC propagation delay Message-ID: References: <20230719-stmmac_correct_mac_delay-v2-1-3366f38ee9a6@pengutronix.de> <20230725200606.5264b59c@kernel.org> <20230726-dreamboat-cornhusk-1bd71d19d0d4-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, Jul 27, 2023 at 08:40:51AM +0200, Johannes Zink wrote: > Hi Richard, > > On 7/26/23 17:34, Richard Cochran wrote: > > 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. This is different than normal registers, because the values are a guess as to what the latency in the hardware design is. Here is how it works in practice: Vendor first asks a summer intern to measure the latency. Intern does some kind of random measurement, and that goes into silicon. One year later, customers discover that the values are bogus. Vendor doesn't spin a new silicon revision just for that. If vendor is honest, a footnote appears in the errata that the corrections are wrong. Thanks, Richard