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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CD8FC433F5 for ; Tue, 3 May 2022 22:19:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243570AbiECWWe (ORCPT ); Tue, 3 May 2022 18:22:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243568AbiECWWc (ORCPT ); Tue, 3 May 2022 18:22:32 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A4E33ED27; Tue, 3 May 2022 15:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=5nRXX6634CQNLfZ6ipk0BQhlHcwJJYgAi8oMmRtAiuU=; b=CTRSbushjLoNRV4SKIDr693kYb zHLnUihRmklsiEH8B82ZMzVhj0/P+4RdrYcCYHn3kx32ctc3EbUQAwT7VGk71WOLRjhZZtFntsmfK 81GeRGBWO9ESaFiQX39VzUDSTG2EHPythdbDVdKWYGP1UmHx5USfIU/HgK5Lc4EzsBeA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nm0r1-0016xO-It; Wed, 04 May 2022 00:18:47 +0200 Date: Wed, 4 May 2022 00:18:47 +0200 From: Andrew Lunn To: Matthew Hagan Cc: Russell King , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT Message-ID: References: <20220502223315.1973376-1-mnhagan88@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220502223315.1973376-1-mnhagan88@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, May 02, 2022 at 11:33:15PM +0100, Matthew Hagan wrote: > As noted elsewhere, various GPON SFP modules exhibit non-standard > TX-fault behaviour. In the tested case, the Huawei MA5671A, when used > in combination with a Marvell mv88e6085 switch, was found to > persistently assert TX-fault, resulting in the module being disabled. > > This patch adds a quirk to ignore the SFP_F_TX_FAULT state, allowing the > module to function. > > Change from v1: removal of erroneous return statment (Andrew Lunn) > > Signed-off-by: Matthew Hagan Reviewed-by: Andrew Lunn Andrew