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 DA6C5C33CA2 for ; Fri, 10 Jan 2020 12:53:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6EA602072A for ; Fri, 10 Jan 2020 12:53:13 +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="hqRDbVI7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727253AbgAJMxM (ORCPT ); Fri, 10 Jan 2020 07:53:12 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:41236 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727145AbgAJMxM (ORCPT ); Fri, 10 Jan 2020 07:53:12 -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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To: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=DVOOcIvOYgsS2mFfmgSd5vHzi6LMw5BR8zt/bL8xmio=; b=hqRDbVI7QZkjDj0W2N++LzPLL rez5Pp0sNyLJvzfuq77zE3qjHNLZ9IX0qcZieEGAYXEpTJqYRG1zdEfcYIc1SRQNG/GNBqdSthHu1 ACjf1ITmt+lH9Nbw803Pknb8w5/03M/f2UPevv+UO8nVwZ5jyTmosHUlgpqEovbQ+nnvik9DWBjul 2IAzo16VthrHNsNn5aIV4J2J67siESs8Llypr/zDJpUI4EFFo2NmrrbILhXEc1xZ6ZRlA5Mv4MIc7 3HZkyJbZQ7C8ii2i3LumzKf8vlyd6dO5snu7/AYbU71J3E/xRLcr7zg4A42mBE6lrgL/Hg3gwWd+j yQe2QoExA==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:60598) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iptmk-00035J-My; Fri, 10 Jan 2020 12:53:07 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1iptmj-0001Vy-PY; Fri, 10 Jan 2020 12:53:05 +0000 Date: Fri, 10 Jan 2020 12:53:05 +0000 From: Russell King - ARM Linux admin To: =?utf-8?B?0b3SieG2rOG4s+KEoA==?= Cc: Andrew Lunn , netdev@vger.kernel.org Subject: Re: [drivers/net/phy/sfp] intermittent failure in state machine checks Message-ID: <20200110125305.GB25745@shell.armlinux.org.uk> References: <7ebee7c5-4bf3-134d-bc57-ea71e0bdfc60@gmx.net> <20200109215903.GV25745@shell.armlinux.org.uk> <20200109231034.GW25745@shell.armlinux.org.uk> <727cea4e-9bff-efd2-3939-437038a322ad@gmx.net> <20200110092700.GX25745@shell.armlinux.org.uk> <18687669-e6f5-79f1-6cf9-d62d65f195db@gmx.net> <20200110114433.GZ25745@shell.armlinux.org.uk> <7b6f143a-7bdb-90be-00f6-9e81e21bde4e@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7b6f143a-7bdb-90be-00f6-9e81e21bde4e@gmx.net> 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 Fri, Jan 10, 2020 at 12:45:52PM +0000, ѽ҉ᶬḳ℠ wrote: > On 10/01/2020 11:44, Russell King - ARM Linux admin wrote: > > > > Which is also indicating everything is correct. When the problem > > occurs, check the state of the signals again as close as possible > > to the event - it depends how long the transceiver keeps it > > asserted. You will probably find tx-fault is indicating > > "in hi IRQ". > just discovered userland - gpioinfo pca9538 - which seems more verbose > > gpiochip2 - 8 lines: >         line   0:      unnamed   "tx-fault"   input  active-high [used] >         line   1:      unnamed "tx-disable"  output  active-high [used] >         line   2:      unnamed "rate-select0" input active-high [used] >         line   3:      unnamed        "los"   input  active-high [used] >         line   4:      unnamed   "mod-def0"   input   active-low [used] >         line   5:      unnamed       unused   input  active-high >         line   6:      unnamed       unused   input  active-high >         line   7:      unnamed       unused   input  active-high > > The above is depicting the current state with the module working, i.e. being > online. Will do some testing and report back, not sure yet how to keep a > close watch relating to the failure events. However, that doesn't give the current levels of the inputs, so it's useless for the purpose I've asked for. -- 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