Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp12335544pxu; Fri, 1 Jan 2021 17:52:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6zo9xOwtV45iWo0+Mo/lLdxWu3XLlwlp4h3vtXc5TOOriKc/nbeW8Aus6JhthSUTAGkuy X-Received: by 2002:a05:6402:797:: with SMTP id d23mr61010772edy.302.1609552376044; Fri, 01 Jan 2021 17:52:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609552376; cv=none; d=google.com; s=arc-20160816; b=lYi9OkKLalribOHhBvezzQ+MXhWreGl3YM2NYG9DdvkuV8lF8Zcbz9Z4+T4qbiK2eT DanUMrAnOtKY5WwOkmAOSIRnel5niz7Z84DSAmmBbF8j+if1kFlYq7M2foZYDQXE2K1G +l8rUz8YMGRWuqmqigfk1NkjQm+EGwNM8sOsRVop4+d1ZXxo6TEStCB00Wf/n3WXczW8 wtU7ThtOnDruE1/woE9sLQqVagF11UF+4Yc7KklMqQr0Eae75vlLimbhIhRLHuqbO43M k/b+UrCdJDPQXlkZzZAGtqGuiOkPp5TvkqdFKQz4HRlTi01PFug3qWpnNGNNLo73wzUX Vr3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Q2jAZkTFIteWE1z6hfl35aMC1l+pl2TMKqEmw0iXPe8=; b=U6egbmdCMhUELi4qqEooD2w88hAIyIKlDgEKE9DrKwpk0M6/vTyHieC1Ve82Eux48/ Pr2WMkVxIjA9UdJ5DJYEHyJU/IgTDRTboc6Fx83B4uq1TR6WUpTfd7IbsombfKSU3FfM tvzzZdGsXHfaa6TEq7duffO+IYC5Hx9lCTDLvurzlwignqwA23i8P2XbOE2qQinM3uMK YZc3fA+9pc8jqGHhauoXwcaMpkJWuIQI1z0ABqtqobwzr4KpuB0EXWeS89AOx9mNFcnQ WppkSYVzKrKwSOrn/q4HhyybJ/YbG742rMWTv3T+DAc01KSEuus6JvwnzvRq5S2bzRyp c58Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hBpHeX+y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch17si27442873edb.430.2021.01.01.17.52.34; Fri, 01 Jan 2021 17:52:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hBpHeX+y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727369AbhABBuj (ORCPT + 99 others); Fri, 1 Jan 2021 20:50:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:57520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbhABBuj (ORCPT ); Fri, 1 Jan 2021 20:50:39 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 90BF522241; Sat, 2 Jan 2021 01:49:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609552198; bh=ftpLdvsvDf6Op/7guRWkU1GTp+LUtuRhZif20iq/5j4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hBpHeX+ylHfhXASU+u0XDWdnQDzosOaZ8yY2oW5P7GJm+i2clh+8urMVbfa/FbyQy 2+92fzN0ESMhfqT+K56fKm3qSLgtXMvQi2bY+eNxmv9lvLwEOVwuQlBVisVlu9DFuw ZMSTV6D4JNlXUNq/PaYR7oxjrWc1y5LH397Su7KGoTuJJx0mfTFTUxs7RMpU9wwm8h CZmGrD7PvE65VOlBTL7ePVBGfTCUnYHZp3oUCHAEI0aNczIe80z8rUe7EjkAfixSi6 wZY4fXcsKDOFlatZJLdW8DTiDi8Dr0FTouI3mivPap2TItPrUXtCpEeM7gwV7k4gK0 FzzoPuXCdWPFA== Received: by pali.im (Postfix) id D53C59DC; Sat, 2 Jan 2021 02:49:55 +0100 (CET) Date: Sat, 2 Jan 2021 02:49:55 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andrew Lunn , Thomas Schreiber Cc: Russell King - ARM Linux admin , Heiner Kallweit , "David S. Miller" , Jakub Kicinski , Marek =?utf-8?B?QmVow7pu?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips Message-ID: <20210102014955.2xv27xla65eeqyzz@pali> References: <20201230161036.GR1551@shell.armlinux.org.uk> <20201230165634.c4ty3mw6djezuyq6@pali> <20201230170546.GU1551@shell.armlinux.org.uk> <20201230174307.lvehswvj5q6c6vk3@pali> <20201230190958.GW1551@shell.armlinux.org.uk> <20201231121410.2xlxtyqjelrlysd2@pali> <20201231170039.zkoa6mij3q3gt7c6@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 31 December 2020 18:13:38 Andrew Lunn wrote: > > > Looking at sfp_module_info(), adding a check for i2c_block_size < 2 > > > when determining what length to return. ethtool should do the right > > > thing, know that the second page has not been returned to user space. > > > > But if we limit length of eeprom then userspace would not be able to > > access those TX_DISABLE, LOS and other bits from byte 110 at address A2. > > Have you tested these bits to see if they actually work? If they don't > work... On Ubiquiti module that LOS bit does not work. I think that on CarlitoxxPro module LOS bit worked. But I cannot test it right now as I do not have access to testing OLT unit. Adding Thomas to loop. Can you check if CarlitoxxPro GPON ONT module supports LOS or other bits at byte offset 110 at address A2?