Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3568644ybd; Tue, 25 Jun 2019 05:00:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuI4pruQI90ocb3Ry/7r58m2aFslu82Ts245iRB1wF2sOG4kLN8bwAEph83cE83xo8XgSq X-Received: by 2002:a17:90a:36a9:: with SMTP id t38mr31672752pjb.19.1561464051670; Tue, 25 Jun 2019 05:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561464051; cv=none; d=google.com; s=arc-20160816; b=cLepfCD0wqXvVPNBpG0KQ1p99yHTYTdInLEed2SzcdJT79AO+WytdhFC7NP4rSlzRa lOFAI2qxMaiYhAHW9NlAJTFPp1xeomm/EjdZR8eIorpx8Iwr+xyqkU0fo0tfPByGSbhz W6qATyNRk6b/EBN+XE66XFhY/JZROtlLoDUU48YgO1sqKRjZM7r3KaT4aAqEKGk7d8lW XoJ5Nv/09InO4Qxd1IczFERIxTxcvPUK4PKk0kzfHSPlO1Za3ZNGAb1SZepHFhDqeP4S 8kLWu/6eBGZtTPu+HOOC4GFyNPYZrE7M6NQUToGzmZjFWnl5aMnQ1AlgFgRvE+uUv0gE a8FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IOs08vRJYw1qJiIbOQmayB+PkMsOoQ5W5ST49dzietI=; b=uCTfLx9LBeEVEvResdKTLJjJW+DbkzdkXsJbtUVAOPKeA/G03nYu5IuA84xEifAJRi IMfPBDRaES1xC5UMo4f5RRxJuctT3pboZiquEQFJ7/34o+JrPwo489Io7Aq9DBdYTfgh 51GSfquiACEbj4nfVmXTLmvo5UqHP7JZT+WXoY1LwKCwMIiTrWO1KNIDFl6LUbeqagkY SuXAbstXYP6vMeP7F8ZMv0FH1X9TwbZhDxY68tg7AnP8fgoF397A6OURQPkP306rucop yAyGfj+tAmz8mFv4WAzCMMGDOLK7XfmYWV2B4pLBfs/sL3wH7+usL+J+lBc2RmAkHgPM q2uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=1AIJJNhr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si13108676pgr.536.2019.06.25.05.00.36; Tue, 25 Jun 2019 05:00:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=1AIJJNhr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731560AbfFYJ3k (ORCPT + 99 others); Tue, 25 Jun 2019 05:29:40 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:49280 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbfFYJ3k (ORCPT ); Tue, 25 Jun 2019 05:29:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IOs08vRJYw1qJiIbOQmayB+PkMsOoQ5W5ST49dzietI=; b=1AIJJNhrxhQNgKmIE3GuEHKhE D6DomYPYPrbk4HYTCd4AM/NN5Ttg+d5YcvPC6FqdT44nfSIllS1+cK4r9QbFT+Q1xkGhS+LaBbwje 1NPdhy4DQardJmPjA3mvz2rcqOaNxepTtTCC8mqXgaZEkeSM4PWwK2qjE4MZ2iB2RMiH2GUF7HT5h LCTKGfrgY6w1ysjLjvUjDbLmgLnKPjcQ+ZLH1mjtPjUwl02Udp4FToA+c+bn4Id/xqDHik/UM/xKb vHM7AEMRAWEtJ3+diRTU20ZmjRc48quvzYmBCjRdUD9KDgh1s3kK+yYtx0D58cHy5Ma6KTqkz8V3b xghNvokuQ==; Received: from shell.armlinux.org.uk ([2001:4d48:ad52:3201:5054:ff:fe00:4ec]:58976) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hfhlc-0005TP-Q2; Tue, 25 Jun 2019 10:29:32 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1hfhla-00076N-Is; Tue, 25 Jun 2019 10:29:30 +0100 Date: Tue, 25 Jun 2019 10:29:30 +0100 From: Russell King - ARM Linux admin To: Parshuram Raju Thombare Cc: "andrew@lunn.ch" , "nicolas.ferre@microchip.com" , "davem@davemloft.net" , "f.fainelli@gmail.com" , "netdev@vger.kernel.org" , "hkallweit1@gmail.com" , "linux-kernel@vger.kernel.org" , Rafal Ciepiela , Anil Joy Varughese , Piotr Sroka Subject: Re: [PATCH v5 2/5] net: macb: add support for sgmii MAC-PHY interface Message-ID: <20190625092930.ootk5nvbkqqvfbtd@shell.armlinux.org.uk> References: <1561378210-11033-1-git-send-email-pthombar@cadence.com> <1561378274-12357-1-git-send-email-pthombar@cadence.com> <20190624134233.suowuortj5dcbxdg@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 25, 2019 at 09:26:29AM +0000, Parshuram Raju Thombare wrote: > >In which case, gem_phylink_validate() must clear the support mask when > >SGMII mode is requested to indicate that the interface mode is not > >supported. > >The same goes for _all_ other PHY link modes that the hardware does not > >actually support, such as PHY_INTERFACE_MODE_10GKR... > If interface is not supported by hardware probe returns with error, so we don't > net interface is not registered at all. That does not negate my comment above. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up