Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1222405pxf; Fri, 19 Mar 2021 01:58:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvBiwiWkgch2c+IQr31xhTbT8CzmMQWrektcdn6ORSkZDjG4O43ch7A+j1825WJmQER8cb X-Received: by 2002:a17:906:e0d6:: with SMTP id gl22mr3066528ejb.444.1616144312988; Fri, 19 Mar 2021 01:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616144312; cv=none; d=google.com; s=arc-20160816; b=Orr0lwN/Zej69jsgsqK3adfzD5E00W/yVQUTDmgGbm8FuvnvyNv6Fkqn6NgOBINQPf 9XNGnpU0wP/vO/2tJMMVsIZzZLfeEFfM3xL91/CrVDTY5cTQDxDdoLkhBnmaHBBQkLOG rreXD3WzwpzMGAU6o6eD+vRRmvBCtpCIjn/9PLJ8F3B3gat4Vj4vgPICZWT3q2v/NEct /svQW6zEhTT2zv/6tPlON10actdZ8XjycGP02hhFT6Y3LEZnIc9w3i87hvczZXlBrM43 aQqZ+sr5hoiWtYfoeLLnSHEWg3Ic9ZBLwgDjQqEJAD2v2m/yPkz71HhYaTkpG9flbV36 Fr9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zqIRbM6Nn7HfU4zrksxtqJsFnb/7Sey+P8FGdDKOD2w=; b=HW8cpKgLaNtndolnt4oWkwvf+kYZF4t9mROEqLY+flE6KoN4gEFkF4LQ5vW+UG8KIo mui/EuWv5jELDJla7LRNOKUfe58W1pb8VNuhpVvUDVgaThW13VhXT+x1z/y5UIpfkURR Uj8yN6bmcm90U+wmveTzOwrICddaccetXCUqxr8cBOMt7kCbabNl6A3P3+ZeBjdfdyGN OOZUG+W36ymslHAFKqek6uU9SX0iz5WuF9KNdQogqRowNUmok128vZfFsrCgR8FTSbeT gZvujSmniez3goh/QgPC7kOIQY13O+DjHgm+4NyZveOlLbWHGDxnHA46Mk6Mph2tKo/8 Pymg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=hHdi9qLj; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si3578720edr.46.2021.03.19.01.58.10; Fri, 19 Mar 2021 01:58:32 -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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=hHdi9qLj; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229784AbhCSI5F (ORCPT + 99 others); Fri, 19 Mar 2021 04:57:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbhCSI4k (ORCPT ); Fri, 19 Mar 2021 04:56:40 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D9CAC06174A; Fri, 19 Mar 2021 01:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding: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=zqIRbM6Nn7HfU4zrksxtqJsFnb/7Sey+P8FGdDKOD2w=; b=hHdi9qLjM0GZCrcxueZ8JkcKL dYf0692iB94dwWZlwGi+Y/XqrqZDTk58UxIdtFFMB10DI00g+GcZMgawTeS7BCMo6Z/vWeF7s1K5i 69dCrpoocj0X3P3PCa2KCoIgscedY53T5Ir+3TVNGIUaW5A9996paSiU0pUssZS6MsDDQ7lrCqxyi zFwQ9nCbjHgUNXhgKYPP+4aLWeK/MG090BmAzLOXz3jOqMf63ouB6IW+KQbXeQ+CYJdiEVaIGosmy cKStTjYNcAQhyPETLSU/7bRAY4VJeLZ8R7q2m7cHZ22AZ9z5xNaSnhTGKn9D3dIHkSUJxxFrzp+Bj BpLtJ4T5Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51472) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNAvn-0004Cw-E7; Fri, 19 Mar 2021 08:56:31 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lNAvk-0000Ro-I9; Fri, 19 Mar 2021 08:56:28 +0000 Date: Fri, 19 Mar 2021 08:56:28 +0000 From: Russell King - ARM Linux admin To: Heiner Kallweit Cc: Wong Vee Khee , Andrew Lunn , "David S . Miller" , Jakub Kicinski , Jeremy Linton , Calvin Johnson , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Voon Weifeng , Ong Boon Leong Subject: Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22 Message-ID: <20210319085628.GT1463@shell.armlinux.org.uk> References: <20210318090937.26465-1-vee.khee.wong@intel.com> <3f7f68d0-6bbd-baa0-5de8-1e8a0a50a04d@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f7f68d0-6bbd-baa0-5de8-1e8a0a50a04d@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 08:40:45AM +0100, Heiner Kallweit wrote: > Is there a specific reason why c22 is probed first? Reversing the order > would solve the issue we speak about here. > c45-probing of c22-only PHY's shouldn't return false positives > (at least at a first glance). That would likely cause problems for the I2f MDIO driver, since a C45 read is indistinguishable from a C22 write on the I2C bus. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!