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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham 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 8CFFAC43381 for ; Sat, 2 Mar 2019 20:26:40 +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 5204D2086D for ; Sat, 2 Mar 2019 20:26:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Zn0GAsn0"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="uLHsp6gK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5204D2086D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=r6nqyUl3gpLosNyFkM/djCz4mTE0s2Ouf2HbKBC+geI=; b=Zn0GAsn0ZMEHfX lvBcPsUnbAKOFzayAyQjEbYN7GgTnRPdsB1kpFGsKDWF/5DXzvbWu5QmK7uzXwfG4maRMMNeJaZAm t0TRzjquH0i5rWqxIgs8q/7g/AgU/B8Eg0dPHPLGPvMM+dJ7Oclswb01U1XWl03OXMJFR6G4BI0HB /haOJ9DYpQ8xvj8AZIBmIwAaSccqCRiKk90dNbj1xBNjjtEM8WBaU84QLpO9Br9Qk+aWDX48I38SC Vrg7axFuiP2AYHHMxTrWB92riD4WcCD3YIW3rQBxQtrqccmiPa5dOLaW644VytUXA8evFnihd+1fx 4IV2k7WuPEMKWrUFbVHQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0BDS-00070q-Sv; Sat, 02 Mar 2019 20:26:38 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0BDP-00070D-63 for linux-arm-kernel@lists.infradead.org; Sat, 02 Mar 2019 20:26:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender: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=LKYhp5tnqaIWRHkQx9sC8/3wjoUmvowRI0KlmvvVN0w=; b=uLHsp6gK3I3y7eSuDh9xEbV6/Z inWchMEbaaZuVpqU059v8qFs/o20jZWSR43bzFJOURJdpHqqh8W7q8t7pghfFXszn/ORqW9uGV+oH oGINNfahsWpyG5o4GHm/dqzZmgELeii6O9EdXOEmlqQiT7QYHAXiv78onVB6rrYpovu4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1h0BDJ-0004TN-7E; Sat, 02 Mar 2019 21:26:29 +0100 Date: Sat, 2 Mar 2019 21:26:29 +0100 From: Andrew Lunn To: marcmicalizzi@gmail.com Subject: Re: MacchiatoBin SingleShot 2500BASE-X port (eth3) with GPON SFP on mvpp2x Message-ID: <20190302202629.GB10359@lunn.ch> References: <014801d4d121$d2769620$7763c260$@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <014801d4d121$d2769620$7763c260$@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190302_122635_380900_F83377D7 X-CRM114-Status: GOOD ( 14.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Mar 02, 2019 at 01:00:28PM -0500, marcmicalizzi@gmail.com wrote: > I=92ve just been playing with the mcbin for a little while now, and this > kernel tree (mcbin branch) seems to be the only way (using a modern kerne= l) > I=92ve found that actually gets the 10GB SFP ports working on the SingleS= hot. = > = > Unfortunately, however, the GPON SFP I have (Huawei MA5671, provided by my > ISP) does not seem to work on eth3 (mvpp2x driver). Currently I=92m using= it > successfully in a different machine using a Broadcom BCM57810S (bnx2x > warpcore) with a couple modifications to the driver to link at 2500BASE-X, > and support SC modules, but was hoping to move it over to the MacchiatoBin > and try it as a router. > = > Worth noting is one quirk of this SFP is that it does not have a physical > EEPROM, and instead has a soft EEPROM that takes some time to load after > powering. = I've received reports that some GPON SFPs don't like block reads of their i2c bus. You have to do 16bit word reads. There was a patch a while ago to deal with i2c bus drivers which could also not handle big block transfers: https://www.spinics.net/lists/netdev/msg546524.html I don't think the comments were every addresses, so it did not get merged. But you can try reviving the patch, fix it up, and see if smaller reads help with your problems. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel