Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp303669rdb; Thu, 2 Nov 2023 04:26:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH5FXn8gklxAd0BcWrisQsnL9Ji0FP5ZXRKdqXwW9ae3AEErnp8jZ8I2xPEJvPTxzFTwxK+ X-Received: by 2002:a17:90a:f60d:b0:27d:3e8f:26dc with SMTP id bw13-20020a17090af60d00b0027d3e8f26dcmr15530273pjb.9.1698924378453; Thu, 02 Nov 2023 04:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698924378; cv=none; d=google.com; s=arc-20160816; b=FcBTd+EPVCTmhEy9vmzKavJ8KD7GA8rdGJ1MWLjf054vaODrT9/arD0AvALnARx6Bq JtRscQ70GOPJkL5z3ZdXwh64aN5CYq6wIL9ASJtLBYm5Y2nUqbv+97USO6GN3G6FZv/h KQCkxWrS3CWZ3ReEFe7s7/j7ZCTAKYApa2qXrBqyS/5P5D3sVyWAzsRqGo1l6CTKnPtx cFPcfY5xR33kB6OqzYEvnfrdZUljPmX84s4ZI2nr2DQxJ0EvKxum5DM5TLWW75CA4LVj MbjHPAl+C+qhzXUO1drk+/b+Op+cvueChIk/qcUiDUkRdpT+ufwYSz2q3+BWkiQMwxkz GcIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id:dkim-signature; bh=G9+EloQzdVYeoamONcM2Hc+44nMTwaQEa+a85PRBSe4=; fh=GcES5sYPnEQjR9wlU3EhYf5zDTXvpTutV72DoMZUTlk=; b=yDtPt4h9w9OAm7hbBIshOofAYmTHX1otjJFnIyIAqvPKAPnaC58IsKlC70wLvRgOtW zOCkaxI7VC2EuDevtsgV/xGYxLaWnirco7G3BY6CSViuBj6F1DUpaIgiWRm6ejsK31H/ gq5DLEkUf9zd4Igfh8X+t+XiXMM2y7scIVabuUy9S1r/vCoLCrXeD1capA90+3+33LRd 1dJUv14h8GFQkkRn7Wm/CTHFD5xKfdLPutow+QOLREcpSPaqFeuqwj3wTofrBAQVEY69 isQLSCEHxFlOYEHDeqo72/uvkXmQ6+P6+S804Y98KWM+V7XAXK8SDy3vPAu7L3oZgsVY hLdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LQdFt3ZK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id t1-20020a17090ae50100b00280a4766ed4si2650428pjy.135.2023.11.02.04.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 04:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LQdFt3ZK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C3C6A80295FD; Thu, 2 Nov 2023 04:26:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347345AbjKBLZ7 (ORCPT + 99 others); Thu, 2 Nov 2023 07:25:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347243AbjKBLZ6 (ORCPT ); Thu, 2 Nov 2023 07:25:58 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC54E111 for ; Thu, 2 Nov 2023 04:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698924314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G9+EloQzdVYeoamONcM2Hc+44nMTwaQEa+a85PRBSe4=; b=LQdFt3ZKGdEApjSx/97bjMdIMNvO9Reubs6+q6d/ybk4JUSmqFjxmHQd9RS4HuhaZIHi7Q EBJP0G8XejMPD7A+oa0rFXD8arHVs0zCdgY8fsjK1q7ZG5JtxNldHwUDkL4DKTqmqOSZMf cB4Bp2eyoAGcRypkXsp01/OP4tmy4I0= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-496-VJKJh3BmORWtFs_pUIMFgg-1; Thu, 02 Nov 2023 07:25:12 -0400 X-MC-Unique: VJKJh3BmORWtFs_pUIMFgg-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-66d3f71f49cso2471286d6.1 for ; Thu, 02 Nov 2023 04:25:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698924312; x=1699529112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=G9+EloQzdVYeoamONcM2Hc+44nMTwaQEa+a85PRBSe4=; b=we16ULCRQGpYSkOFxtXUc4+JJBztH0hw6lON9LyvsAYIrPvp2+6AEoVCUtFtFcefza 4xbCUckKDtuzt6VgJj7ByvF03rshcRzkw/DDmuND/H8zpYQ52MsjeP47nxyzYCH4/Bau wIs3wvndojr1vMBClVk94UCrV324Uc3iw3kXHzhnanpEuh7neuVspyG/RJLDug2ytmCs yIdADXxlwW21btT3RFsoS7RGLbb/ol8tivY9abm8Wyx34S8gZd6JQ48J1SIQWyKqpMyk gotnQ0bxmqnPZbkouIWb4FMA4CE6H006+9cC6TN5EKVfCCctQ507NLquiTRatfGAGQaw Wo3w== X-Gm-Message-State: AOJu0YyW2arrfxIo8tll+NYUbHGK0ogDQA0a2HxAmgzzdorq2QQMo+eg 7dM8fDYJqW1i/dbNVORQpR4zn6tm4yl2Q6TXE90zAMdjNh20XXMRRaQK8m6r6RZA1/ettnQal4N vD25TpQq9OSg0545QzGF/3EOZ X-Received: by 2002:a05:620a:24c3:b0:76f:27af:2797 with SMTP id m3-20020a05620a24c300b0076f27af2797mr21315834qkn.0.1698924312385; Thu, 02 Nov 2023 04:25:12 -0700 (PDT) X-Received: by 2002:a05:620a:24c3:b0:76f:27af:2797 with SMTP id m3-20020a05620a24c300b0076f27af2797mr21315813qkn.0.1698924311978; Thu, 02 Nov 2023 04:25:11 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-226-153.dyn.eolo.it. [146.241.226.153]) by smtp.gmail.com with ESMTPSA id i7-20020a05620a144700b0075ca4cd03d4sm2228731qkl.64.2023.11.02.04.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 04:25:11 -0700 (PDT) Message-ID: <5a265e5541ab1de2258a6e61bd672ef5fb6be65f.camel@redhat.com> Subject: Re: [PATCH] net: stmmac: Wait a bit for the reset to take effect From: Paolo Abeni To: Bernd Edlinger , 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" Date: Thu, 02 Nov 2023 12:25:07 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 02 Nov 2023 04:26:16 -0700 (PDT) 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. >=20 > 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, adding such tag into the subj. More importantly you should include a suitable 'Fixes' tag. Please send a new revision with the above changes. You can retain the already collected reviewed tags. Thanks, Paolo