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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49F21C433F5 for ; Tue, 16 Nov 2021 10:54:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08E0361BE3 for ; Tue, 16 Nov 2021 10:54:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 08E0361BE3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To: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-Owner; bh=a8SNFHint37UdnUC5brqUzWFpn+9PBkTEqi7c2RWGfk=; b=n0EjE/yhft09fq 3m+4jrOcjfMcEDde3ch+yO5ys6LbdjFyM4aje0tlfwXiElfSdgNPCZfmLySDuqaiztp5QNv2zeRcs TN5C7abWCYest9I+L1nKApMzcVG3arIGAxuKRQ5JLkzbgRZW8JJyKxiG5yaehInySId922tOTPFoq H4/1hiDtrAl5cilmhSw5J9YwwQhiqhY/lOOwcH4rvMm3nwTvt329oxWtX+m+N4hCEQD9ryTlnNyZB n2HA6oI/JYyQ523LjxobNSw7/c7GaL8dimM83+ZlvXQdg8fccvizu7KSQNPuqPZC+J178VtjMrUj7 fahseWk2D0cotnmLm9Ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmw3m-001HQS-4o; Tue, 16 Nov 2021 10:51:32 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmw3c-001HOu-Bz for linux-arm-kernel@lists.infradead.org; Tue, 16 Nov 2021 10:51:21 +0000 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=3KgSpveLIj8InZNTPcNW0D8EJu8lji97r2nXPaOb78E=; b=LFwiRYWvWjuziOZZkWtt+NxsOW WGnErIPdKc3x7aATVuQZQDNR3tTpGQhqeA+1WZTECQUbJgwqmCxo4t7INR5MFQSJwqcPYzzRKXnGe E7wlZ24R4WcP4WA+nnJTEnr7MEVOhVjblL7nxb0tHMdJvkcIg76jD48qp49+CrJoqtC+WCswryzIJ pdg7Jzt7pb8O+iM+PgGZz9Yt/2y8juMa2UoXPcgPp/qWLy6SIVs+9JvC+KU5uUj7nJtVjCmYe5kgF Zuiywp6UQAIWeWO5Tvxu/ME36aEzuuoGLFxN8h4ZkJRWIP6FIIt5wrSQbEqIiF7st7js7JNiITFW3 ig3JiaUg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55658) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mmw3a-0000QK-9E; Tue, 16 Nov 2021 10:51:18 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mmw3Y-0001wq-Gr; Tue, 16 Nov 2021 10:51:16 +0000 Date: Tue, 16 Nov 2021 10:51:16 +0000 From: "Russell King (Oracle)" To: Jordan Vrtanoski Cc: linux-arm-kernel@lists.infradead.org Subject: Re: ClearFog GT 8K not initialising SFP-H10GB-CU1M transceiver on 5.4.150 Message-ID: References: <3AB36F18-250C-46F5-8135-94C79102B8A5@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3AB36F18-250C-46F5-8135-94C79102B8A5@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211116_025120_456773_1DE75B5B X-CRM114-Status: GOOD ( 19.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 16, 2021 at 02:11:54PM +0400, Jordan Vrtanoski wrote: > Hi, > > I am trying to build kernel 5.4.150 for SolidRun ClearFog GT 8K. The kernel is stable and I had not experiance any stability issue. The only issue I am facing is with enabling the support for the SFP+ module. > > I am using SFP-H10GB-CU1M direct coper cable module. The module works on earlier version of the kernel 5.1.x (verified on the same hardware), however once the device is booted under 5.4.150, the transceiver is not recognised and the interface remains down. There are no error messages reported by the kernel. The transceiver is recognised, but for some reason the link isn't coming up - and from the debug kernel messages, there's no information pointing to why not. At a guess, mvpp2 is not reporting that it has link for some reason. I don't think it's an issue with the module or the SFP layer - since that is going into "link up" state and the TX_DISABLE signal is being deasserted (not that they mean much for a DA cable.) So, I'd be thinking that the problem is with the comphy or mvpp2 drivers. mvpp2 doesn't have much in the way of debugging messages to help with this, but phylink should at least be printing "mac link" messages in both 5.1.x and 5.4.x kernels - but it doesn't appear to be. That suggests enabling dynamic debug is not sufficient to get those messages out... I'm afraid I've never used dynamic debug so can't help with that. Maybe someone who knows now netdev_dbg() interacts with dynamic debug can help with that. Strangely, you are getting the netdev_dbg() from within phylink_sfp_module_insert(), so I don't really understand why you aren't getting anything else from phylink. It all seems rather odd. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel