Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp380158rdf; Fri, 3 Nov 2023 03:46:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSYt2GrWdCsXm4124g87niF3yg+Vtc0dLv/H6ZFnT8dDaXMXVe7/2/4B/SLRruDTuj8YWi X-Received: by 2002:a05:6870:2887:b0:1ea:647f:a9b6 with SMTP id gy7-20020a056870288700b001ea647fa9b6mr27855973oab.44.1699008387882; Fri, 03 Nov 2023 03:46:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1699008387; cv=pass; d=google.com; s=arc-20160816; b=sJ/IjUaoBk3fIkbWJr2LNRer8h46gpF3gk9itUzmkEoX7E1slfzgk5y+kSZUl4MssY ejGakAY+iZ+14eqGDbjYySFALKbfEM07XRirq+m5OxDfgiL1M0PTGKFY1KxHp1g68Fok qgSayJ2DuNHUIcaykuCNHpla1rMFtWH0Zcv5c19EOrxcRY1puhK5RNspJNYAGfCqbA4G LR3LlAOF7RxMHFLDhBvKBnOAM7mG21SQfDduuJadXAqYAwTFUX9Ws8U6CLZKNPQILTHu xA+t9p3zbj7Ya9gn+iTfBaCuNAy7olmtIotWtrGEEXanoTz94v68KYctI//QsXBaLLDT +FsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id; bh=SGeLFUaIuUHoNH0oPFe7qL9OSQz2ZDwZiHAM5grqNr4=; fh=7JATFSAdiQ5PN9DOwoxek+YiiVy+BgNqfwfz6aXZ0CE=; b=F75lO9dQ4znyUSS7GrLJNX81rUljtMEIirNPsHgrIPPRBg9b+BDP+kMQL2Me7/Cpo9 hIfe3top/uMZ7Fxy4t8mUOBbseCBdI2xtfs20V7xyxAKynzPDkprRi0RfCIvfpLnTkVD 6wliCI+qYH+0GhfX7aQG/YRujMjS3Wy+z6cNlLNjB7Cl3+JPTTRIyx4HPsAAQ388UYhE PrdmW7/20FIUNOO5fK2PZ3wrctOUnmK8BsFt/dYQlf5lbRkfvQN6NDHo91fPDhooBIFt nLdzqVcQuaE6ZbYHoiXz6b1zMWJWz1N8+XikkZAVa/n6x3FA522Gid9gMXxHlSicjOJy lmlQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hotmail.de Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s123-20020a637781000000b005abcd0ad422si1252004pgc.533.2023.11.03.03.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 03:46:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hotmail.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 808B9808BD85; Fri, 3 Nov 2023 03:45:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347292AbjKCKpN (ORCPT + 99 others); Fri, 3 Nov 2023 06:45:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347242AbjKCKpL (ORCPT ); Fri, 3 Nov 2023 06:45:11 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03olkn2028.outbound.protection.outlook.com [40.92.59.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36764187; Fri, 3 Nov 2023 03:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BzyKs2fKYJSNRJz4s8kEC+BdGJRSeYvrIrC/tvHjrpD0MJfFkIp/B/YHZslMu7JYS+ws0awMMswD/iUfBsX9FyuBKlitZHyLtGSn13K0izyFpYxbwqoRK7qtLvUhEHE/8ljQs+nP++8eXD67YjaaM7f9sokF4vmCcZXC/BfAuDRTqEBdDfm2RJKbG1MGvJFq85XeYVtJHx4q8t9TUKrmxdP882+V0Ayr0YyIQTUcu6nCBFk6v2w3lA8fpQkFmTaGd1yfC0ZymWNl3UqLXeFiBnAVnq/v6Sj+5rq41eWlUgG8fk13+7vw36oDs8LSoFyzfFxePWhAv+k0KdNHHUY2Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SGeLFUaIuUHoNH0oPFe7qL9OSQz2ZDwZiHAM5grqNr4=; b=IjYXmgnJn8MSBDPPzmsFRcFVjmCRRMw+zGnP5jFHhDZ86E6d8jsf1+9eaaQSxhnqnfzTDwErOhDtaY6Q+XhCsVxnbEyt+o5N5VkJCTOz8qlFnUiCOTYvkg4ryPp81L4Uj9zu5i5hUMFWYaNKyr28MuLk0mV6eU+GGlnWnvQInwl88SujBONN02nSlpOnWczPx5w81PNpUO3uAU3smCdnbM/rH/NDNqDv5bpI0bjmHo3WzRPgk/Hj7neEYrfBUtCu0V6eqTCEzsy1YjQPi5sa+1UW2ftWIhktPt6BEPK7HMNAuD2s6dPTR2XYF5yb46ktUVZQoj+2mp6jELb/O6AcRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from AS8P193MB1285.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:333::21) by PR3P193MB0847.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:a8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21; Fri, 3 Nov 2023 10:45:06 +0000 Received: from AS8P193MB1285.EURP193.PROD.OUTLOOK.COM ([fe80::b89e:5e18:1a08:409d]) by AS8P193MB1285.EURP193.PROD.OUTLOOK.COM ([fe80::b89e:5e18:1a08:409d%7]) with mapi id 15.20.6954.021; Fri, 3 Nov 2023 10:45:06 +0000 Message-ID: Date: Fri, 3 Nov 2023 11:45:19 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net: stmmac: Wait a bit for the reset to take effect Content-Language: en-US To: Paolo Abeni , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" References: <5a265e5541ab1de2258a6e61bd672ef5fb6be65f.camel@redhat.com> From: Bernd Edlinger In-Reply-To: <5a265e5541ab1de2258a6e61bd672ef5fb6be65f.camel@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [qDq5Jc5No+6J1tpK019Wgv8iLLW3wVwjL7rJ2H5n08KhedlfforrBFSAzz5ZOw1z] X-ClientProxiedBy: FR3P281CA0099.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a1::16) To AS8P193MB1285.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:333::21) X-Microsoft-Original-Message-ID: <6996d200-62cd-4f0f-ac45-11a1e4c30b2c@hotmail.de> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P193MB1285:EE_|PR3P193MB0847:EE_ X-MS-Office365-Filtering-Correlation-Id: 10331e06-eefe-41b7-fd21-08dbdc59f0ee X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F6bo0K0BSbyUI49OYY14HSQL7XJwm/nfWZH9aBJXwtVgAOQ9cGSPHdjVJ6rYANgvPSLlR8Drh0VVkyQa9LHDVmQxZpj2MJbMcQPMgTSmwTugPXrkA4KNNfPB2jMLAXjs6n496OlDaE5KuU/xt0e1W23AsGUZNvGVLb1MBrXQETfFYlkWjCeYDR89GD+liDbk0bfzYQvT3z+EAB0Gb01D8dPEPZJfXfhle5etayRnBPprEHjvdpT7tcOMKw8MweMb2m9AEqR1zQSh02VTDHC1ASuKmwUrVg0Myl+ZbrBWl1RKgq63vzxEj+6kbNRvjUqebBRIPChaEv+eAdi1J/yE8IKAzFnSZatpOuia/9SO0IK3bYjaUUleNoDmkj3WUuXp027nKSDETidcyvusUXdf8NdY8f7W2zretdVJl2tz68tD+WHA83X76yAZ5Z0KU6QUDp8hiFQI963BjI+bdGzq9KjRq1a5zW3Acgy6pC6quvqJsbfh9OeDev2CQtKmeS500DiCX6xCboZIqW/lwPEMdqVXpnJY29FZIGElXj4gU/nRD44/2ke7SrEG1CDlzPqR X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QXpBYnBYL3RUeExTVXh0YmFETTZDYTZBTmxsMEllYnZrYW1oQVZZQmVoaEhi?= =?utf-8?B?NEFRSW82ZU1LYnBkUnE4UExYYUU0QTBTYnJWVGlVMjFCUjBrWXhEWTAzQ3pI?= =?utf-8?B?bERORGdlaklpUDVLSGlzeGYrRjJWZFp6VGVIeFZpWm53U1N0RjlqWmJZcTlF?= =?utf-8?B?ck4rTlN6N2FaUWxZOEFpVmUzbExHS3lnVTdVOTZFWCtJVlZ1TDFwZSt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QrV1c5d3o3eG5INW1NcHR4Slk5Z1FP?= =?utf-8?B?ZkV3aGdqU1JMUkg5dU1SUUFPNmhPeENYQ1hCN1lvM3Ezb2lrZ1lRYW5zMk41?= =?utf-8?B?RHp5NThiVDBzckM5RFlhSU56NUtDWnZJcFF0Sy9TcCtyQU9ObFljQ040dTFG?= =?utf-8?B?SmVrZjZOY1VLbzlJRHhQTlhpNlFpSm45K0s1VXQ0NElEYTAwaU8zL1F1WTZG?= =?utf-8?B?R3owWTJlNFZ4cEFGejVqZ21tRGdsaWZKRDJOUkV6a0tuT01aeVRBQnRjcWhS?= =?utf-8?B?eDJpVkovOUcxMldNWWVZRmdEeGxYUStzbWg1eko3VmpRZXNUSmJjRzdyM2ha?= =?utf-8?B?OFJrVFh5bGsxSHU3aDRRYXpaWXphZ3RjVUtYaDlMSnlCWWtjdTc5VVB4dFRO?= =?utf-8?B?TDhEenpZS1J4aVB0d1FyYndTM2EzOHZKL0srY1luNmlUbUVNZzJ0ekhhZkZB?= =?utf-8?B?L0hLVTNCMmI4WG0xVEFvMHNacENlSlRXWWNJMCtBT0NSdVF3S01JTGlRck5V?= =?utf-8?B?MU9yaDJVL21XZnBweWJQNTdZMSt2akE5VnpQUi9ZclhzaStmbCtCelJ4MlhC?= =?utf-8?B?MWhFUzJ5bzFHd0JGdklYUmZzRTcxckloM0NsOHBEdFI5U0JhT2QzSjVJWXp0?= =?utf-8?Q?DnUPmjGjNYLPtECnG4=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 10331e06-eefe-41b7-fd21-08dbdc59f0ee X-MS-Exchange-CrossTenant-AuthSource: AS8P193MB1285.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2023 10:45:06.0869 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P193MB0847 X-Spam-Status: No, score=1.1 required=5.0 tests=FORGED_MUA_MOZILLA, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 03 Nov 2023 03:45:21 -0700 (PDT) X-Spam-Level: * On 11/2/23 12:25, Paolo Abeni wrote: > On Mon, 2023-10-30 at 07:01 +0100, Bernd Edlinger wrote: >> otherwise the synopsys_id value may be read out wrong, >> because the GMAC_VERSION register might still be in reset >> state, for at least 1 us after the reset is de-asserted. >> >> Add a wait for 10 us before continuing to be on the safe side. > > This looks like a bugfix: you should target explicitly the 'net' tree, I dont understand, did you mean to add "net:" to the subject? It is already "net: stmmac: ..." or did you mean to send this message to another mailing list? > adding such tag into the subj. More importantly you should include a > suitable 'Fixes' tag. > You mean an informal description of what this fixes? like Fixes: Randomly occurring "Version ID not available" messages. Or do mean to pick a commit where the error was introduced? I doubt I am able to do the necessary bisection steps, as this seems like an issue that was introduced by the initial design. And I also doubt that it can only affect the GMAC_VERSION register. To make that clear, the issue is totally harmless, maybe some performance degradation but I became aware of it only because I was trying to solve a totally different issue, and therefore I have looked very closely at the printk messages, so I spotted the anomaly to tracked it down the reason for this flaw. Thanks Bernd. > Please send a new revision with the above changes. You can retain the > already collected reviewed tags. > > Thanks, > > Paolo >