Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp725118pxb; Thu, 2 Sep 2021 13:38:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzttQjSVUXig7ilRGoITjMuk1UI46yq/n8QtcF5SYzFYp4sXX2cJOFLSUhpdmovYBFqAQDA X-Received: by 2002:aa7:cc11:: with SMTP id q17mr191634edt.353.1630615096371; Thu, 02 Sep 2021 13:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630615096; cv=none; d=google.com; s=arc-20160816; b=w9zX6jg/RgMtc6Fasrogvzydl39hP7/WRr1VIakVtYbVTtCI/XvWpiBD7dsMF31wbY GGJnjIHB9n8/HmAk6I0f3ZteQQbkkKqN57N7HSuM3IvLwYk/kX16f3flJ4/vdxwpgJB8 ob18MxhbGepcxqDVwmx2bmMGrBRroIzMnBGdXjl8jl9iv89+d2YRN6CKrD2SVnn+GC0X cTK3MFCmsmztC2ETCx74tjeFfDXUMQBISLD4WpBqvCQmwk7KvfDQ26YtS1oIMO2Zcw2n NvBNaAeMoy9LHZepsS/j1pv5HYW41qTvWK6G0VLEQVxiDlGRR2uzK7qYwD6Puq3jZmPW Xj1w== 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:dkim-signature; bh=Gt3zeHnWw3U8+QneEn3jIF6T3ece/2vIGoTVWj+Z/e4=; b=bWnUyc25q8sECqpTKiRac92WzJA4d6+a+SuiQQ8zZ3PbPm3d4icBXJNAsK1vYOrv5G c+VqU0pLfOOLAaSNeNNq0LtlU1VY5wi9WJqSmW0txxxWEzI/6Ty0ZYsygrR+zvlSZ6+p HUxf4STxs6sYxxqOLtmj/UZV1SwBY7tzPl8dQaB/ZmBLYyhq93fRHbFRaK7rJIdrsHE2 ZXrKjRhVIaqPcx01tsAXRtFH3QvnwmKcEK5uYSYX2bgMxik7U4tz8eHcJAccLx2yWm4l Ult/oqTpRed3q8JT9fE3VWWUGG5OoBY/dMRVf5J4SevyWzUyaZiKg1tNVkT9zsKVFkSz 4oaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=detHc482; 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 y29si2900770ejk.433.2021.09.02.13.37.24; Thu, 02 Sep 2021 13:38:16 -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=pass header.i=@lunn.ch header.s=20171124 header.b=detHc482; 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 S1345194AbhIBUIz (ORCPT + 99 others); Thu, 2 Sep 2021 16:08:55 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:54068 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbhIBUIy (ORCPT ); Thu, 2 Sep 2021 16:08:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Gt3zeHnWw3U8+QneEn3jIF6T3ece/2vIGoTVWj+Z/e4=; b=detHc482lludQ9s41A/nqX3VNt zu61vALLwts07jdQEu+29nehJFjAxlY6p5QubVguBLFc0zWASHzQAMvW3+CacL599NBR2cLDyzSfw SGFTo4uzg6k2HuRynKf0zt5J7qI5ivqFxe2wBQ+J7dv86dB4Rq6aISKc4qScFDY7dD3U=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mLt01-0052vS-9S; Thu, 02 Sep 2021 22:07:49 +0200 Date: Thu, 2 Sep 2021 22:07:49 +0200 From: Andrew Lunn To: Vladimir Oltean Cc: "Russell King (Oracle)" , Vladimir Oltean , netdev@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Heiner Kallweit , "David S. Miller" , Jakub Kicinski , Vivien Didelot , Florian Fainelli , linux-kernel@vger.kernel.org, Linus Walleij , Alvin =?utf-8?Q?=C5=A0ipraga?= , ACPI Devel Maling List , kernel-team , Len Brown Subject: Re: [RFC PATCH net-next 0/3] Make the PHY library stop being so greedy when binding the generic PHY driver Message-ID: References: <20210901225053.1205571-1-vladimir.oltean@nxp.com> <20210902121927.GE22278@shell.armlinux.org.uk> <20210902123532.ruvuecxoig67yv5v@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210902123532.ruvuecxoig67yv5v@skbuf> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The interrupt controller _has_ been set up. The trouble is that the > interrupt controller has the same OF node as the switch itself, and the > same OF node. Therefore, fw_devlink waits for the _entire_ switch to > finish probing, it doesn't have insight into the fact that the > dependency is just on the interrupt controller. That seems to be the problem. fw_devlink appears to think probe is an atomic operation. A device is not probed, or full probed. Where as the drivers are making use of it being non atomic. Maybe fw_devlink needs the third state, probing. And when deciding if a device can be probed and depends on a device which is currently probing, it looks deeper, follows the phandle and see if the resource is actually available? Andrew