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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 05908C433EF for ; Mon, 9 May 2022 20:28:27 +0000 (UTC) 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=cWxPpU4GWjT+GME5/JlhUoL5694EKBFAsxRxOotsx7M=; b=kCRf0uXShFsyK8 8+dfvycfucJ8mro51CfrAbExRB5fqo3c8Pl5EZQx/gKz3Jo/v40fkU85JL7V0Edm7C5IsfiVp37qN O+vyQ5pRMcQ4zQSWzap7l4svp4FJ16aGo1QAQdZRh4056ws/plUh150CElVNRpuvGVVN74KKYsioS IGZQ1nPLdx0TRjIcVkXNVnANmV8Gb1XaSkyIbFDEhkKmsYwGC42ewW9z7Xiko+2k/8aNmnfo8o30d +Vf1YbRvUajZknUdBa+6jje8lDkqsQOe3mTQjil0r6eK0TK2U7fEWmJutKjBs88jkqoiUCvi++GAx B8qp9fyVrfP6M1q0NCCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1no9yR-00G9a3-Pu; Mon, 09 May 2022 20:27:19 +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 1no9yP-00G9YM-5b for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 20:27:18 +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-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=hmKlRZa+PLM4faInSzddDkKgaSeU0NiuepXfcMehYY0=; b=PQM5K1O/M857WUwAIWVl88wgJB xjY1TQxPkSuxVGS1ogiDwNZH7Ztuj5lMB9WdwDofkxOsWKux5JFSkXArjP2/uZj3bXzOiGSXFUDE+ vJdKFIw6hq5qIHlTrhzBSXVNaiad9eo76zzic5jJx2LmyPpWZVSB59hgwTZS58X/38Ir4HfExEInW B4VFFgqcbou6erY9Y48QE6MluY8D952boirEgL8DzGAK8i0nHjUS5FkK+LM49lFleytxnkUfK76xK aqcWnDarvlJioKgK9RNigh1SiHMMFeMq5zIZViB47XuMlDvO2yTYlWipqWjlI+mlbYQlFKVTvjOP9 P7PRY6Cg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:60656) 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 1no9yI-0003in-UB; Mon, 09 May 2022 21:27:11 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1no9yI-0005Op-F2; Mon, 09 May 2022 21:27:10 +0100 Date: Mon, 9 May 2022 21:27:10 +0100 From: "Russell King (Oracle)" To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Giammarco lynx , linux-arm-kernel@lists.infradead.org Subject: Re: Question abount VSOL/CarlitoxxPro SFP Patch on Marvell Armada (MCBIN DS) Message-ID: References: <20220508165159.6jmnbzbvdm34c4qp@pali> <20220509170832.4wchp4tje2fvhpyh@pali> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220509170832.4wchp4tje2fvhpyh@pali> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_132717_249219_C4AA058A X-CRM114-Status: GOOD ( 16.77 ) 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 09, 2022 at 07:08:32PM +0200, Pali Roh=E1r wrote: > One GPON module which I tested, signals TX_FAULT when CPU tried to link > at wrong speed. This is just my observation, nor sure if it is > coincidence... > = > So when kernel set phylink to 2500base-x and GPON SFP module expected > CPU to set phylink to 1000base-x then kernel received TX_FAULT. After I > switched 2500base-x to 1000base-x TX_FAULT stopped and link started > working. If that's what that GPON module does, that's another invention by a GPON SFP manufacturer. > Btw, what does TX_FAULT signal means? In the SFP MSA, an asserted TX_FAULT means that there is some kind of laser fault with the module. So, using TX_FAULT to signal "host, you got the interface speed wrong" is very much some GPON module manufacturers invention. > Yes, this sucks. Importance is that GPON ONU/ONT box (either in media > box form factor or SFP form factor) is compliant to GPON standards and > then that is also compliant to the vendor OMCI extension for correct > provisioning from vendor OLT. For SFP the last importance is that it > works in vendor's media box with SFP cage. And that is all. Nobody care > about SFF standards compliance. > = > I do not know what we can done here. Maybe SFP subsystem should cycle > between phy modes returned by sfp_parse_support() until one start > working? > = > Dedicated GPON media boxes are in better shape because they have RJ45 > with copper ethernet over twisted pair and this has standardized > autonegotiation of speed. So here if provisioning force speed 1Gbps then > on LAN RJ45 port is mode changed to 1000base-t. Maybe the right answer is we just stop trying to support GPON modules with all their random manufacturer specific quirks and odd behaviours. -- = 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