Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2681764rdh; Mon, 30 Oct 2023 04:56:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtgQ+imdD+CyTRZf0aqgJBQBOlOHpZGdYsbQSvNq7hXUQIg2u5JO0rmDU4JaZWvKGrwft7 X-Received: by 2002:a17:90a:f40f:b0:280:1d8f:3a02 with SMTP id ch15-20020a17090af40f00b002801d8f3a02mr6096906pjb.13.1698666979163; Mon, 30 Oct 2023 04:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698666979; cv=none; d=google.com; s=arc-20160816; b=SdiN7Uh0i6bRcMhrDmM1E3K04GThj/yldElurdIZ8+eYYpifFT1/T0zVqokRird1cH Nul1K/+5IBXiJODd0LEpR7pgVBCusFbVPUvw5BMIDNYub/k5Ac2gLbKu/QcVrz9OjJw/ igVDdW+fmKSULOEVi1UNMSjSzD81Mtt8prtTDWKAFbJTvRDL/2MNOcI0wWyaQd1cq43h bDKjfx6VlwPIaIVBgWKOvpXxUpW48058qO0tcw+FLTw5A1w1rGn/fp545PH+D4hSy/mi Y/dNQfj9IzQ/XY+oZkk9WKEINbvn/i7W4oSa6OIR3AY+mG/k/dTT00VMcsdRSNKXPoun y7YA== 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=Q31c8fnQHD+W10kmomcQ4zTSAMbkT+bVtaWYEa58nas=; fh=ypveZX4KTOPPOmNXPPYhDXHc0/LipqGkRvQ66w+cppI=; b=unmhpjHSELLDVUlg1yN+H6J6CjESBlIJuHyzpuj+vOIeq3XfAvcE2Q4AE9VJjW2t+/ 4dZI+FEOmVpOCqgPmcO6SPQW8iA/Q8MV9lsBw0ZAb8Bg43fOzOKiR7+TTtZcj4F05L+F m82XG3JXPjo+nZsdC6Bxzr8eX7k6xriehIwpHHyNI/QcIBTBYNNANhrg4YnEynDuHKm8 00FcuVf/ItjCbzIThMpbjK8OZlu+NiT/IhmEK2SvkrsQMzjxTs6jhIzVHzQ/OXjTNRfb /JlImAqcSCnErDbc+tireNuOcgyUoAed7MFASqHIfxRLJvhBGr/EAov6wUCi1fzZ/PQ+ XD6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=HvoOMHM3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i20-20020a17090adc1400b002791b907f0csi2467365pjv.121.2023.10.30.04.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 04:56:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=HvoOMHM3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E11ED8073282; Mon, 30 Oct 2023 04:55:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232984AbjJ3Lza (ORCPT + 99 others); Mon, 30 Oct 2023 07:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232887AbjJ3Lz3 (ORCPT ); Mon, 30 Oct 2023 07:55:29 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0AA8C6 for ; Mon, 30 Oct 2023 04:55:26 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-53df747cfe5so7339679a12.2 for ; Mon, 30 Oct 2023 04:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1698666925; x=1699271725; darn=vger.kernel.org; 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=Q31c8fnQHD+W10kmomcQ4zTSAMbkT+bVtaWYEa58nas=; b=HvoOMHM3zushLZ9gCVFUIC4w7Sq7a2oQf/zsEOrIJiV2h3ds3QAP5QGzzx8OOL+dRS sNxzjq1xK1IqleJ0U2RWCPf1GazQcoR38f0IkZvEMevVJHyA7lrZPMVym0p9b1vK5l9A Sdi9DCSdHxh/voEzqQ6C7id53wKrCXOXGRDHUpg2aU0N6bKaAcRwrMIhnpm7UWUEkIaa z4I+5xiv+JwyPIxKPDtqeE35zVMyQDdmJggjNCCaDZQ5DYE5iHHoPbo541xDR+Fi9MqX 3QMk8i8gwj7wkGUw5BLpoqX2LZ/cvl+bYuwWfikj2XGbtHwzwZga4wuZxrgtOxfDHqZY yqGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698666925; x=1699271725; 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=Q31c8fnQHD+W10kmomcQ4zTSAMbkT+bVtaWYEa58nas=; b=TWVU55wl/vJ1DlveIXmaGDwVOHcypaM3aOyDop4MnLpulXHkdZpvVZ/417mSovH2Ub Wx6CkD9yPvui7zxfKWGshbAqdIILDCdVawqrm518qnPv1f5mtuza8fUCk2MiKugjNBOS 0ngdTyWobvttgRyl1+wveMVboCW7nu4PWItXGtGiTpL29NUR+Nf92KnyzU5vp6Ds6O0u uJvbEg2AgeNVV94SFKQLrYGtFbPA4KGmlPq3MDXwno4a7j+crIh4zfqwb7OBan4Y8nYc R9dun3KK7YPhHOouKKv4Im5eZ8n8qmrJ6j/CJJ0MycjHhSouBdpakiT+Au6VtKoRKIKo 1RJA== X-Gm-Message-State: AOJu0Yymdfc9SbRyWFA//MJmfqSH7zqMTbwNt95ZZsGMCzIg9FOTBV7z +H4g7tVrIr2mBs06YAov2goptA== X-Received: by 2002:a17:906:c14b:b0:9be:ab38:a362 with SMTP id dp11-20020a170906c14b00b009beab38a362mr8139316ejc.46.1698666925439; Mon, 30 Oct 2023 04:55:25 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id lf19-20020a170906ae5300b009ad89697c86sm5944350ejb.144.2023.10.30.04.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 04:55:24 -0700 (PDT) Date: Mon, 30 Oct 2023 12:55:23 +0100 From: Jiri Pirko To: Bernd Edlinger Cc: Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] net: stmmac: Wait a bit for the reset to take effect Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 30 Oct 2023 04:55:37 -0700 (PDT) Mon, Oct 30, 2023 at 07:01:11AM CET, bernd.edlinger@hotmail.de 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. > >Signed-off-by: Bernd Edlinger Reviewed-by: Jiri Pirko