Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp302387rwd; Wed, 24 May 2023 18:43:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SRe2LGjIsLP93Js8dslqembUGL6TdeNU04HhsnL2/R8lbhJ4Zj8fxp9xRpkZvS3TF026A X-Received: by 2002:a17:903:1112:b0:1aa:f818:7a23 with SMTP id n18-20020a170903111200b001aaf8187a23mr21923320plh.27.1684979032036; Wed, 24 May 2023 18:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684979032; cv=none; d=google.com; s=arc-20160816; b=0KOE7vh+Q3+rBacvXNY5jqEUUzj8jkarOZYDj7UO+djxrwlj4VAfaruCtWyRLsOfk/ JPV1pwGtVmjlO7xaetj9MmjSZeg4XNBxKobZy4c1LRj5Zk3nOUqgvSDugDLoRurp9YmP wmoYYimwuGXXBewvcLZ/ecvQC++/VIbeL0Kkchx5/iuJkKowHwk6XrMeWnW3aVsh97N1 m98XHE3lEcROaqCBgWFZm6TQ6xi9bgNvOkM7Fi1j7LVx+eNwecR+HhFzqjVn9Z2nksl0 b/+tH838EDC3T9iFdjZbZIEckA9Wmx74EjyYlgmaJWnCBkGyxl7XgAhwhaIVi89cd8Ng RmPg== 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=9d6+XEpsXz1iSbOIpQ0TAWr8mqTs2ADpccgDRm6N8ao=; b=AtevTqefIFXDZb1T2gipCNCBwvLuI9iXXK3X9QKR992hc/0EIsoZLQTV0HzFCiLPvD sg7Pro4ZTgdprBuVPe60y2SvQfS5eEa1XlV63nUVio18oGUDvsWhp3NwFloYYZP2U+JD bla5lX0ltzJPZn1k7PYer/KJUt4GG93ffFLvab+HYmi16Sn5+8tdcOA10KmsRAu/6zz4 LCP8p/r1FQT2QNr8sYl3v3mVrnBT/XjtOcEuLfIPkdK0A3DdmhDsxmrV6x7vv/IvArl8 q+49VwUOZLojPC6KR5K0sZTl++qpoBNDx6TSfAT2vUZ1dCJwal6GU+npqIAOkcXF80DV bERg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=dgiCj6cq; 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 c24-20020a170902b69800b001adb9d5e1d2si273912pls.130.2023.05.24.18.43.37; Wed, 24 May 2023 18:43:52 -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=dgiCj6cq; 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 S231658AbjEYBJ3 (ORCPT + 99 others); Wed, 24 May 2023 21:09:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233370AbjEYBJ2 (ORCPT ); Wed, 24 May 2023 21:09:28 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B90212B; Wed, 24 May 2023 18:09:27 -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=9d6+XEpsXz1iSbOIpQ0TAWr8mqTs2ADpccgDRm6N8ao=; b=dgiCj6cqvvyR2Bd1CtNT4gL5Fo A3ae7YYNjjeXYj4R6zlN6X2TkWlRE9/Ce7EDlWSSjazyEPLlUWY08V+dXGRVY0shDm//2wGGu1fmX ka+NdCivPbTNAwMze/wWvS8fE8jjrDDyD6kSG9eL5y9xdyU4UZPWQhCvjp5aRel3kh/A=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q1zTk-00DqwL-4J; Thu, 25 May 2023 03:09:20 +0200 Date: Thu, 25 May 2023 03:09:20 +0200 From: Andrew Lunn To: Parthiban Veerasooran Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ramon.nordin.rodriguez@ferroamp.se, horatiu.vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, Thorsten.Kummermehr@microchip.com Subject: Re: [PATCH net-next v3 4/6] net: phy: microchip_t1s: fix reset complete status handling Message-ID: References: <20230524144539.62618-1-Parthiban.Veerasooran@microchip.com> <20230524144539.62618-5-Parthiban.Veerasooran@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230524144539.62618-5-Parthiban.Veerasooran@microchip.com> 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,URIBL_BLOCKED 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 Wed, May 24, 2023 at 08:15:37PM +0530, Parthiban Veerasooran wrote: > As per the datasheet DS-LAN8670-1-2-60001573C.pdf, the Reset Complete > status bit in the STS2 register has to be checked before proceeding to > the initial configuration. Reading STS2 register will also clear the > Reset Complete interrupt which is non-maskable. > > Signed-off-by: Parthiban Veerasooran Reviewed-by: Andrew Lunn Andrew