Received: by 10.192.165.148 with SMTP id m20csp1496105imm; Sat, 5 May 2018 13:40:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZotCP492NDlJIoBYKb4k1aTQ52bUkOuDCB3zxrnAbP3Z/8hVz2XN5d5ByRbx1fqvD2BGfEv X-Received: by 2002:a63:351:: with SMTP id 78-v6mr26791473pgd.355.1525552814711; Sat, 05 May 2018 13:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525552814; cv=none; d=google.com; s=arc-20160816; b=BOHVs2X6uOwdWbYAtmaCnkzH8N7EtdxeEw53Y/bzH2B4XaeHoJkxDLJpgryJM6IMWp cg7z+ojcvs5aKtuvAg+VY/oZ9GoHCQKmvabH0mD0YO6zCCB4QkqSKfUGduAkvRzqJVYD iX+y0ROqNvxNNlPNB66nC7pL7HXKoNk2mdG87mLCXlSsvkWFSIbsNYAKltcJYuTTW7uM m4c63lLvHEhTsXZlLKQM9YIp08hrN1a7Er/c/TtQ3BtzBYUPBzvXGwjDGMol0nixLJ3T jV98dxDejt8EeyAgw9fdqNf+i8jhjuGt6VZxE57isG0ULkpFbAJsrWbWaxTPkCjC+7P4 6Rsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject:autocrypt :content-transfer-encoding:mime-version:references:in-reply-to:date :dkim-signature:arc-authentication-results; bh=WO+dO48LvcdbNP3rcFGVGI/Kqu/m3RlivTI1GHMBV28=; b=ikIUGNj19PmMeTRjAI10Vht8kKbwEb1JLwZi7k+up0LIJFo/rZJVmzQt9SO05r07qC LR+G6t3Jf5Ds+VhvZST9y85uf/O32UuK927DyzdRVIWznlu7y9aEGNQbhb6229I92LyX DtgONWXfHCuDXYBQKDpAcHxp+3HMTXdE0ENDPulmp9p1VGa1BfrMhHcMPWbFWRX04yXg 19vOl4dfr3082kjTaGXj3k8fal2axZj6ae4d+MVaMfm+V8PhM3fehk65C27jlwCMyjln kMUtl2dskE+K3+Chlp//HVCcGx70mL5E3FV5ts6FPgUMsKizjLw96Is9x3A8FR36Lgiu 1cWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TDlPEXBP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si20575427pls.261.2018.05.05.13.40.00; Sat, 05 May 2018 13:40:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TDlPEXBP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832AbeEEUil (ORCPT + 99 others); Sat, 5 May 2018 16:38:41 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:37567 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751183AbeEEUih (ORCPT ); Sat, 5 May 2018 16:38:37 -0400 Received: by mail-pf0-f195.google.com with SMTP id e9so15935725pfi.4; Sat, 05 May 2018 13:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:in-reply-to:references:mime-version:content-transfer-encoding :autocrypt:subject:to:cc:from:message-id; bh=WO+dO48LvcdbNP3rcFGVGI/Kqu/m3RlivTI1GHMBV28=; b=TDlPEXBPXgB4q8NTe/oFBVjaTTcloiRQA3jO7sgsq1dZKJ0/fiBMuzWZAO3rXiaug1 O5ZVQ6rsSi21jzfcveJXCCsBkJkEcn0RSaovgu8G7eBzKNh2b0zuRMv1pn8UqvS38Cex 7RTSm7Mx8WPP6o+S+W27RPFfJwUiDuzidwzM1Qjs4bMm/FHhUYU9x5ZjXXtmVwiCK+ou nm80/NWJZwDIXwcr5JXx6sVjJzPz4IEcfnBTGsDW/sNaLrJW/JDyUyET5eIBYrmFFCZS yamNRZ+x+E8RIn4xsne8naX4JU0KrdoSvIugqbth0NPWhCGrKYhJP/dymNbC2ISf9Qp2 f0Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:references:mime-version :content-transfer-encoding:autocrypt:subject:to:cc:from:message-id; bh=WO+dO48LvcdbNP3rcFGVGI/Kqu/m3RlivTI1GHMBV28=; b=J4RwHI+9ywYCWBiDcBcu4xplUpP9WCA5B72fuTU+hEMUze9mf9B2izLteafV7QadQx iyFDsyAmPGnyJhf6xQ6j5M6H4cD8qz8KTuSOHLK+T8wwj0g1fDH7QbSDK3ybiBZdsIT3 NJ1JUHCEqmQixa8K6F9mbUgnQi0ebBdZqiUsHsvIsp2lbDTSEBucImQDW8/5BgjpzA3/ cgh4Wf1wKE+6F3cP7L/rRZpL0SunF5adzwD+SdL/YHnLQavThGOh5kw6DgMUWpY9tdMV CTS0N5+XaEoHvQZ8brH3FK1bgjv6fZEvN9plV479R2ssoQrxK/ibnZTwCur9IwFMpIBa n7zg== X-Gm-Message-State: ALQs6tDhDwRWQotsNhqeMtkJxRnkqHB0NaryYYnrTRWSUX2XQPd+AcME hHfLibx+fGUVBoEkEBE9EC0= X-Received: by 10.98.208.68 with SMTP id p65mr31699443pfg.64.1525552716931; Sat, 05 May 2018 13:38:36 -0700 (PDT) Received: from [100.67.36.253] ([98.180.145.39]) by smtp.gmail.com with ESMTPSA id k66-v6sm31204688pgk.24.2018.05.05.13.38.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 May 2018 13:38:36 -0700 (PDT) Date: Sat, 05 May 2018 13:38:31 -0700 In-Reply-To: <20180504171425.GA17233@lunn.ch> References: <20180504135643.23466-1-antoine.tenart@bootlin.com> <20180504135643.23466-4-antoine.tenart@bootlin.com> <20180504171425.GA17233@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Autocrypt: addr=f.fainelli@gmail.com; keydata=mQGiBEjPuBIRBACW9MxSJU9fvEOCTn RNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyRxGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4y sWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQX3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjC CwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0EAICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DD j3K8Upn2vYiOFMBhGsxAk6YKV6IP0dZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihL csmnBqOiS6rJDO2x1eAgC8meAXSAgsrBhcgGl2Rl5gh/jkeA5ykwbxA/9u1eEuL70Qzt5APJmqVX R+kWvrqdBVPoUNy/tQ8mYcnzJJ63ng3tHhnwHXZOu8hL4nqwlYHRa9eeglXYhBqja4ZvIvCEqSmE ukfivk+DlIgVoOAJbhqIWgvr3SIEuR6ayY3f5j0f2ejUMYlYYnKdiHXFlF9uXm1ELrb0YX4GMHz7 QnRmxvcmlhbiBGYWluZWxsaSA8Zi5mYWluZWxsaUBnbWFpbC5jb20+iGYEExECACYCGyMGCwkIBw MCBBUCCAMEFgIDAQIeAQIXgAUCVF/S8QUJHlwd3wAKCRBhV5kVtWN2DvCVAJ4u4/bPF4P3jxb4qE Y8I2gS6hG0gACffNWlqJ2T4wSSn+3o7CCZNd7SLSC5B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egbfkJwX2Y53ufq8Np3e1542lh3/mpiGSilCs aTahEGrHK+lIusl6mzJoil+u3k01ofvJMK0ZdzGUZ/aPMZ16LofjFA+MNxWrZFrkYmiGdv+LG45z SlZyIvzSiG2lKykuVag+IijCIom78P9jRtB1q1Q5lwZp2TLAJlz92DmFwBg1hyFzwDADjZ2nrDxK UiybXIgZp9aU2d++ptEGCVJOfEW4qpWCCLPbOT7XBr+g/4H3qWbs3j/cDDq7LuVYIe+wchy/iXEJ aQVeTCy5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU4hPBBgRAgAPAhsMBQ JUX9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxVHG uUuzv+GKZ6nsysJw== Subject: Re: [PATCH net-next v2 03/13] net: phy: sfp: warn the user when no tx_disable pin is available To: Andrew Lunn CC: Antoine Tenart , davem@davemloft.net, kishon@ti.com, linux@armlinux.org.uk, gregory.clement@bootlin.com, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, maxime.chevallier@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, ymarkman@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org From: Florian Fainelli Message-ID: <44545AF4-64E3-4772-B5BA-43CCF2321025@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 4, 2018 10:14:25 AM PDT, Andrew Lunn wrote: >On Fri, May 04, 2018 at 10:07:53AM -0700, Florian Fainelli wrote: >> On 05/04/2018 06:56 AM, Antoine Tenart wrote: >> > In case no Tx disable pin is available the SFP modules will always >be >> > emitting=2E This could be an issue when using modules using laser as >their >> > light source as we would have no way to disable it when the fiber >is >> > removed=2E This patch adds a warning when registering an SFP cage >which do >> > not have its tx_disable pin wired or available=2E >>=20 >> Is this something that was done in a possibly earlier revision of a >> given board design and which was finally fixed? Nothing wrong with >the >> patch, but this seems like a pretty serious board design mistake, >that >> needs to be addressed=2E > >Hi Florian > >Zii Devel B is like this=2E Only the "Signal Detect" pin is wired to a >GPIO=2E Good point, indeed=2E BTW what do you think about exposing the SFF's EEPRO= M and diagnostics through the standard ethtool operations even if we have t= o keep the description of the SFF as a fixed link in Device Tree because of= the unfortunate wiring? --=20 Florian