Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11409487rwd; Thu, 22 Jun 2023 12:54:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XMvkm7gR4PoQDqvOw5wGfZJvXkRdcdr884903tk6obRDCYjV7hiz+LcBFKmgffEe8C2I6 X-Received: by 2002:a05:6a20:6a24:b0:103:d538:5ea6 with SMTP id p36-20020a056a206a2400b00103d5385ea6mr16425315pzk.48.1687463657530; Thu, 22 Jun 2023 12:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687463657; cv=none; d=google.com; s=arc-20160816; b=mTtI8GePeqf45r7cmw4tJGVppCjRHugJUllsx1/8RV+wTEUIYLr1yAuozwNtNZqX/P jLToTYvSEMcBQUeurSU8Q/8XMBbYzgI+7iXCyeHyGl2VEiFqEx+7s3ssfUQWM8m4KxJP OmdgIKF3XMT42x8CHAFxdUZSLdkOZ3DglZJw+ylUeGzBMqbRr7RdpkKLFKQShioNay1M 6mko20aqQJ8DjbzoJeMCcdz3D7eZVKtciGFOOrA6N/nHcCYXoVlRgDie8PhREkjRQ/ge +klclfDJfc49F4SdenKnEehPIjfmSOmmoJyrNGFe1z2fUrIk+x72px5fOaWltpJKA3gG KmnA== 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=7VEmrQnGXRHXrWZPRkJkOjP72y6Jj4SAv5mBcJAJcwQ=; b=ZFr61febwWr98ziw/VdvV2P9fBhKhtKi9D+rr+AWStca/ZZiGZwncAtOPpoRkNOzse k4x4TCkCUkCw2dyXMJydmOv+FVkvFXEWVilm1HbHS/fJ4zWe0451BVbzBRuyir5Xpy1x quIWqh5TIAK6nPjM5ovAbUdgGqNZ/4/Ucq6YDntazfc3B2CG6SLS0vWwSqlHT/LBbSbs jQQEGNiJERBY/ybQbG8Li522nhfp4C1W8Jn2UPziVh3ujJ1iIfPSC4afDPC9lKcLKK1r VEm9XNNlifTs5nWGSpkhNP5HPXCx0kUReCuMRHYZYX7w9ucRM1Wd1xbJv76k7GSl+uji SkSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=loAZj+yP; 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=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902f28300b001ab0c00aec4si6788361plc.482.2023.06.22.12.54.04; Thu, 22 Jun 2023 12:54:17 -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=@lunn.ch header.s=20171124 header.b=loAZj+yP; 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=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231234AbjFVTSb (ORCPT + 99 others); Thu, 22 Jun 2023 15:18:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbjFVTS3 (ORCPT ); Thu, 22 Jun 2023 15:18:29 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DD2ADC; Thu, 22 Jun 2023 12:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=7VEmrQnGXRHXrWZPRkJkOjP72y6Jj4SAv5mBcJAJcwQ=; b=loAZj+yP3rtmbP9MdVjS04Wp4K I0bKPeVKRM1eDmATNW/FIYrCl69pSEtPx7EgR8G6gloZrHLBJYnY6gnXlRIJ1wA6b1x0ebQj+A/vG ofyh0KtEE7N6rsZn/1ArsTov+AJ9tjfUUkQDag3DVAoQQa7v8uE41RQCgJCwsZ8H7ySo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qCPop-00HIJb-VM; Thu, 22 Jun 2023 21:18:11 +0200 Date: Thu, 22 Jun 2023 21:18:11 +0200 From: Andrew Lunn To: Maxim Kochetkov Cc: netdev@vger.kernel.org, Radhey Shyam Pandey , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Michal Simek , Robert Hancock , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] net: axienet: Move reset before DMA detection Message-ID: <5e8b2552-0dcb-4683-ad52-57a239517d2d@lunn.ch> References: <20230622175200.74033-1-fido_max@inbox.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230622175200.74033-1-fido_max@inbox.ru> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 > + /* Reset core now that clocks are enabled, prior to accessing MDIO */ > + ret = __axienet_device_reset(lp); > + if (ret) > + goto cleanup_clk; > + > /* Autodetect the need for 64-bit DMA pointers. I would say the comment is now not fully correct. It probably should be extended to include 64 bit DMA. Andrew