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.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 A1039C3A5A6 for ; Sun, 22 Sep 2019 12:57:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6CC0D20830 for ; Sun, 22 Sep 2019 12:57:53 +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="bKBEgWaV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728933AbfIVM4i (ORCPT ); Sun, 22 Sep 2019 08:56:38 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:36860 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728820AbfIVM4i (ORCPT ); Sun, 22 Sep 2019 08:56:38 -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=kXNd4Otf1WXHwIbrWf/Ed5THU+eNYMXWXGBOvSSFAIA=; b=bKBEgWaVVL6JvTnHYJtfS65X2 70ZjyqL3sLH8PRn9lslR086dYLyfOI2J6Hz1nuNesaQxJoAr4ZQxyEWsc65DdrpqrpvzfnUvx6k3n G1yI+QRGxHJXUxwFkmsgJrS3+MTtX0usIwyCxaMC6moaqBx4M5bcwYxQcC/R/fzezjH/BD+pP2irH hb6WVywh3S7hV5RZrz4eYE5bvsNGoqbJ+Hj7t3ztdsROvCBaJbQGFF27RLhpooSoxYXLSx5P9Jh7B 6J21cnlTf1YdHBIs24a3u/ZywgWjG0mWZQZ2cBQhWnf8Qv9LH3qjRB2XaWC+l1V9NRqEdbrWpyW3e 5olFokSdQ==; Received: from shell.armlinux.org.uk ([192.168.0.251]:55382) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iC1Pj-00073T-6s for netdev@vger.kernel.org; Sun, 22 Sep 2019 13:56:31 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1iC1Pc-0007kK-M5; Sun, 22 Sep 2019 13:56:24 +0100 Date: Sun, 22 Sep 2019 13:56:24 +0100 From: Russell King - ARM Linux admin To: Andrew Lunn , Florian Fainelli , Heiner Kallweit , tinywrkb Cc: "David S. Miller" , netdev@vger.kernel.org Subject: Re: [PATCH 0/4] Attempt to fix regression with AR8035 speed downgrade Message-ID: <20190922125624.GQ25745@shell.armlinux.org.uk> References: <20190922105932.GP25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190922105932.GP25745@shell.armlinux.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Sep 22, 2019 at 11:59:32AM +0100, Russell King - ARM Linux admin wrote: > Commentary: what is not yet known is whether the AR8035 restores the > advertisement register when the link goes down to the > previous state. I've just found my 2-pair cable, and it appears that the AR8035 does indeed restore the advertisement register. Using the 2-pair cable (which takes a while for the link to come up at 100mbit) results in register 9 becoming zero: 1140 796d 004d d072 15e1 c1e1 000d 2001 0000 0000 0800 0000 0000 4007 b29a a000 0862 7c30 0000 dc20 082c 0000 04e8 0000 3200 3000 0000 060d 0000 0005 2d47 8100. Disconnecting the 2-pair, and connecting a 4-pair cable results in a gigabit link with the advertisement restored: 1140 796d 004d d072 15e1 c1e1 000d 2001 0000 0200 2800 0000 0000 4007 b29a a000 0862 bc50 0000 dc00 082c 0000 04e8 0000 3200 3000 0000 060e 0000 0005 2d47 8100. Note that register 0x11 bit 5 reports when downshift is active. -- 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