From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Subject: Re: [PATCH v2] irqchip/renesas-irqc: Postpone driver initialization To: Geert Uytterhoeven References: <1478633747-26878-1-git-send-email-geert+renesas@glider.be> <216fe100-556b-7f83-39b0-4cf54c1fa35c@gmail.com> Cc: Geert Uytterhoeven , Thomas Gleixner , Jason Cooper , Marc Zyngier , Simon Horman , Magnus Damm , Linux-Renesas , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" From: Florian Fainelli Message-ID: <3dface9b-7602-b1f2-0dd6-37b444ac42e3@gmail.com> Date: Wed, 9 Nov 2016 11:17:05 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 11/08/2016 11:50 AM, Geert Uytterhoeven wrote: > Hi Florian, > > On Tue, Nov 8, 2016 at 8:42 PM, Florian Fainelli wrote: >> On 11/08/2016 11:35 AM, Geert Uytterhoeven wrote: >>> Currently the renesas-irqc driver uses postcore_initcall(). >>> >>> However, the new CPG/MSSR driver uses subsys_initcall(). Hence the >>> IRQC's probe will be deferred, which causes the Micrel Ethernet PHY to >>> not find its interrupt on R-Car Gen2 and RZ/G, as the of_mdio subsystem >>> does not support deferred probe yet. >> >> Is not that the more correct fix to implement though? > > Sure it is. But nothing has happened since this was reported ca. 1 year ago. > Cfr. "of_mdiobus_register_phy() and deferred probe" > https://lkml.org/lkml/2015/10/22/377 > > My MDIO foo is not that strong... Let me try to cook something here which may require of_mdiobus_register_phy(), are you okay testing patches? -- Florian