Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp833930pxb; Tue, 8 Feb 2022 03:38:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxoX5cf7eVSrD40sVnGa9xPAuRqHrkKy20ezrvO4aZeTnYyfhAsRtAeAub1Ynd4hLoUxAbo X-Received: by 2002:a63:6f45:: with SMTP id k66mr3187546pgc.511.1644320319178; Tue, 08 Feb 2022 03:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644320319; cv=none; d=google.com; s=arc-20160816; b=EkkZutDQBR08f3FrQLfcNIsCdHlzuBfHPhys0RCgii3BD4QcUI/DWGkAt+ayvOkbO5 wqd/QsriEMFlueDJ4u5d3kbBo9BmJs4hPKWz3V7R8taQNWfKYwrbT40M187FOMWBA2Ip eig5rdkCSPgQTmZWMQaKSPjmCDl5zGEKsvCgc9n67HW7iiEQXo30Mpr0MpMhVrDl6DGh OgTgeiZIbgfO97VBhNx7Yi6SnIExjcwS7FCVO8uKaVtmNYbaimx0v/SHNAXdiyy04R8N XQNBTJxK/eo22R/L82a/ciY9C4BW87XUjk0U/n/rhiklpb6e7pYaZTGEOriONApbcsiu wQjQ== 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=E1JRzX7mOGLhHiS73dczVs4lf+o1P6khOplF/he8OTo=; b=hhUNSKb7/4hdtsS1Qd2KIWcIM2UJ0OmECfOyfBlLC6urD2bEbbwFScjdPBsyWXPcj7 jdBQzUDHFcSsdXsuERJpPGSt27PkAHI7ICB+9oVNofSJcCHwAY/QH0xNPtp3X6N1mk8n bDsqJ7LQZ9SfMA6zaNWtg8znBQ8S4OpfMfWtRJedINzWpxjXxdbucM3VfuL7ywRpqNMn u3CzrhfwVkYIU5twm96g5aZx2fCFgOUNQ9kBkArZbnRFNT1qm3QVc2ANwTLKFVh0hqPP Qd9qvsB4PGlcwbYpCmOB2AnzRqAxpAcn5CfaQKS5uSfAax/E/HJJzoE2nBm5f77EAZKo fJcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=esBuyYai; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11si8549495plk.355.2022.02.08.03.38.22; Tue, 08 Feb 2022 03:38:39 -0800 (PST) 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=esBuyYai; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345992AbiBHCKl (ORCPT + 99 others); Mon, 7 Feb 2022 21:10:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345928AbiBHCKY (ORCPT ); Mon, 7 Feb 2022 21:10:24 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFD4DC03E907; Mon, 7 Feb 2022 18:09:56 -0800 (PST) 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=E1JRzX7mOGLhHiS73dczVs4lf+o1P6khOplF/he8OTo=; b=esBuyYaicdEcEBw43ZI5nhYoTI s8NGh821NpRFGdar3iha+ICGEgQ9B4+VM5LuFiLR/Z4/603fsfmJcxEH+I/sq4aVl7iDhjxBO+t/a oH9FbbjhicRFTpF1Prs93SxPFpXMOOW+nLhyWqug572rfBx+OliXa9+W8+bHrkKqstuc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nHFwy-004jou-8n; Tue, 08 Feb 2022 03:09:48 +0100 Date: Tue, 8 Feb 2022 03:09:48 +0100 From: Andrew Lunn To: Raag Jadav Cc: Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Steen Hegelund , Bjarni Jonasson , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: phy: mscc: enable MAC SerDes autonegotiation Message-ID: References: <1644043492-31307-1-git-send-email-raagjadav@gmail.com> <20220206171234.GA5778@localhost> <20220207174948.GA5183@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220207174948.GA5183@localhost> 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 > MAC implementation[1] in a lot of NXP SoCs comes with in-band aneg enabled > by default, and it does expect Clause 37 auto-negotiation to complete > between MAC and PHY before the actual data transfer happens. > > [1] https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/t-series/3241/1/AN3869(1).pdf > > I faced such issue while integrating VSC85xx PHY > with one of the recent NXP SoC having similar MAC implementation. > Not sure if this is a problem on MAC side or PHY side, > But having Clause 37 support should help in most cases I believe. So please use this information in the commit message. The only danger with this change is, is the PHY O.K with auto-neg turned on, with a MAC which does not actually perform auto-neg? It could be we have boards which work now because PHY autoneg is turned off. Andrew