From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68304C43381 for ; Sun, 24 Feb 2019 15:31:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 264ED206B6 for ; Sun, 24 Feb 2019 15:31:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="HcdCsd4R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728011AbfBXPbb (ORCPT ); Sun, 24 Feb 2019 10:31:31 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:41372 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbfBXPba (ORCPT ); Sun, 24 Feb 2019 10:31:30 -0500 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=xVH7UOhIPRfZyEivv5et2UKS9EEvyuC+DqsUbzd/ivg=; b=HcdCsd4RHDgnrr0ko02JEYgff 9yLVGkbUBmSYYfrdESEUmAFRZZe5nKYBtJm2dlmGFH6AC96C+/Sndcp5X19N4VoEX+QBL8Hl6zkCY 418qc5hQZrX8NiPYZTN7IdhcLD/6vKdgnMUuOXO3/6/8aM2sxz6ZCohNson1VJouzAuCcVZmIgTvB XBOXrgKXByuj4GX/xSmJqBTtF6SgyZ1jIX01xMMjy3AiX89cNTj0c3LcVayzMAt7eSWddSlQGfWd8 VYO83+smoLcMcnHj/hoK69DkilRNtEewgc8q8EiL/KHaI09WOSHgrlJSBa5V9f6/eTunRfDfTCeMz 30d6K5dig==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:37052) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gxvkU-0007tT-TN; Sun, 24 Feb 2019 15:31:27 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1gxvkU-00043J-6F; Sun, 24 Feb 2019 15:31:26 +0000 Date: Sun, 24 Feb 2019 15:31:26 +0000 From: Russell King - ARM Linux admin To: Andrew Lunn Cc: Heiner Kallweit , Florian Fainelli , "netdev@vger.kernel.org" Subject: Re: No traffic with Marvell switch and latest linux-next Message-ID: <20190224153125.f2n3xfjyjswd7ioa@shell.armlinux.org.uk> References: <20190217154026.tykxexcndx7l5urk@shell.armlinux.org.uk> <291e7622-4402-e58f-503c-ffc7c6b2f055@gmail.com> <20190217165730.GF5968@lunn.ch> <20190217171027.GH5968@lunn.ch> <33f9ef8d-df62-e154-f880-f886abf54e0a@gmail.com> <20190218182136.GE14879@lunn.ch> <188fcef7-81fe-cffc-af71-1f37725b8611@gmail.com> <20190223234235.GA26626@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190223234235.GA26626@lunn.ch> User-Agent: NeoMutt/20170113 (1.7.2) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Feb 24, 2019 at 12:42:35AM +0100, Andrew Lunn wrote: > Looking forward, at some point we are going to have to make fixed-link > support higher speeds. That probably means we need a swphy-c45 which > emulates the standard registers for 2.5G, 5G and 10G. At that point > genphy will not work... Do we _need_ to emulate Clause 45 PHYs? Today, the MII interface does not work with Clause 45 PHYs, so there is no userspace accessing these PHYs out there. I have a patch that adds support for the MII ioctls which gives me the ability to poke around in the 88x3310 for investigatory / debug purposes. However, I don't see the point of adding what would be very complex Clause 45 support (we'd have to emulate the PMA/PMD, PCS and AN as a minimum) when we have the ethtool API, and then we have the issue that not all advertisement modes are standardised in Clause 45 - there are some missing. As I understand it, the swphy for fixed-links only exists because we have existing tooling that expects Clause 22 PHYs to exist. This will break even if we were to add Clause 45 support as many bits in the first 16 registers have different meanings. -- 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