From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932332AbcH1KeM (ORCPT ); Sun, 28 Aug 2016 06:34:12 -0400 Received: from basicbox7.server-home.net ([195.137.212.29]:51044 "EHLO basicbox7.server-home.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755268AbcH1KeK (ORCPT ); Sun, 28 Aug 2016 06:34:10 -0400 Subject: Re: [BISECTED REGRESSION] v4.8-rc: DT/OCTEON driver probing broken To: Aaro Koskinen , Kefeng Wang , Rob Herring , devicetree@vger.kernel.org, linux-mips@linux-mips.org, Ralf Baechle , David Daney References: <20160816150056.GD18731@ak-desktop.emea.nsn-net.net> Cc: linux-kernel@vger.kernel.org From: Thorsten Leemhuis Message-ID: <0336fae0-1717-2f90-c221-6ef69f7024ee@leemhuis.info> Date: Sun, 28 Aug 2016 12:34:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160816150056.GD18731@ak-desktop.emea.nsn-net.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lo! Kefeng, below report made it to the list of regression for 4.8, but afaics nothing happened after the initial report. Is there maybe some reason why it shouldn't be on the list of regressions at all? Or was the problem discussed elsewhere? Or is it even fixed already? I noticed https://git.kernel.org/torvalds/c/fc520f8b4f (of/platform: disable the of_platform_default_populate_init() for all the ppc board), but that change is PPC specific. Ciao, Thorsten On 16.08.2016 17:00, Aaro Koskinen wrote: > Hi, > > Commit 44a7185c2ae6 ("of/platform: Add common method to populate default > bus") added new arch_initcall of_platform_default_populate_init() that > will be called before device_initcall octeon_publish_devices(). Now the > of_platform_bus_probe() called in octeon_publish_devices() is apparently > doing nothing: > > [ 52.331353] calling octeon_publish_devices+0x0/0x14 @ 1 > [ 52.331358] OF: of_platform_bus_probe() > [ 52.331362] OF: starting at: / > [ 52.331378] OF: of_platform_bus_create() - skipping /soc@0, already populated > [ 52.331394] initcall octeon_publish_devices+0x0/0x14 returned 0 after 29 usecs > > This also means that USB etc. won't get probed. > > Any ideas what would be the proper fix for this? Changing > octeon_publish_devices() to arch_initcall seems to work but that may be > a bit hackish... Also, there might be also other MIPS boards affected > (arch/mips/netlogic/xlp/dt.c, arch/mips/mti-malta/malta-dt.c). > > A. > > http://news.gmane.org/find-root.php?message_id=20160816150056.GD18731%40ak-desktop.emea.nsn-net.net > http://mid.gmane.org/20160816150056.GD18731%40ak-desktop.emea.nsn-net.net >