Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2819429pxb; Tue, 13 Apr 2021 10:54:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQvbOILZrSlRAiKwUcPfInV8yog+lkZvXttpS7if7CaQiOzSh9PcIN+RyKmX1kBiyuK1wb X-Received: by 2002:a50:fb8c:: with SMTP id e12mr37171265edq.295.1618336453484; Tue, 13 Apr 2021 10:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618336453; cv=none; d=google.com; s=arc-20160816; b=mwBSM2fye0YkcHxytfC+d0slR38+7U1TFr9hXhOQzUi6RCFDZClzgiDewIvwVRhGsn clAot82Ol+L68r7gogmUwDiBi8ieiYJr4dsoQT4AiCKwlITzFEUJG1IpGF4hN8xJNIv/ I8gvXubFLJGIAfVmWtT4xO+lpARmry9diaq36dxtRIz72BWjDBeELd264oZ1ReUwKrbV h+0S0k1X7tL+AxIblhhnzFlspadllMJ2fN1B5udIHSgICXj36ORNmNLn6Hjv0Rs2JDOy CJDhxSY7W4oIN2DWjpwlo1k+mNVKv3/L7iZNi7QEnIxLw1m4imm9r1Dg5wHoNj7zxRLs EO7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=jwq6v6GiYBzmm3ZyDl7QlcQSE8Z93S9/kKojxJKscng=; b=gc1Auo1xC1DgMwK3HhDXwvZkm4qw3Ati03K/0UN3Qc0t/wsR/bFZ/7NDORvlBOgqwU njNHTYbN3YgzRMoTenV9780V1PzG1MzR8skLMNpERuUzn/t6hhUdPd8xehaCGNYHhDYY UyrR+AUzVAlnetla7li4jhJVP+XEKCeTaYMXv/btXvB8XwkwH0IywLK2RqLg5sh+MwRn 3xBF7wl9xeKWDMtg7WsFRK1TXL8XoYk2QA0iUH4d/oxb2GRKvcEN6KTjVNXjs6n5VsrT C2iyk7Dzve3slVjfTyl3e6PsG1geUSdnYIH/vNu3woBRSGN/cyCkgFXvEOM5TeB3AMKk koEw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lo11si10394775ejb.60.2021.04.13.10.53.50; Tue, 13 Apr 2021 10:54:13 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344258AbhDMNMd (ORCPT + 99 others); Tue, 13 Apr 2021 09:12:33 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:48250 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243347AbhDMNMb (ORCPT ); Tue, 13 Apr 2021 09:12:31 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lWIpp-00GTeh-EL; Tue, 13 Apr 2021 15:12:05 +0200 Date: Tue, 13 Apr 2021 15:12:05 +0200 From: Andrew Lunn To: Russell King - ARM Linux admin Cc: Ivan Bornyakov , system@metrotek.ru, hkallweit1@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/2] net: phy: marvell-88x2222: check that link is operational Message-ID: References: <614b534f1661ecf1fff419e2f36eddfb0e6f066d.1618227910.git.i.bornyakov@metrotek.ru> <20210413071930.52vfjkewkufl7hrb@dhcp-179.ddg> <20210413092348.GM1463@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210413092348.GM1463@shell.armlinux.org.uk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Indeed - it should be a logical and operation - there is light present > _and_ the PHY recognises the signal. This is what the commit achieves, > although (iirc) doesn't cater for the case where there is no SFP cage > attached. Hi Russell Is there something like this in the marvell10 driver? Also, do you know when there is an SFP cage? Do we need a standardised DT property for this? Andrew