linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaro Koskinen <aaro.koskinen@nokia.com>
To: Kefeng Wang <wangkefeng.wang@huawei.com>,
	Rob Herring <robh@kernel.org>, <devicetree@vger.kernel.org>,
	<linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>,
	David Daney <david.daney@cavium.com>
Cc: <linux-kernel@vger.kernel.org>,
	Thorsten Leemhuis <regressions@leemhuis.info>
Subject: [BISECTED REGRESSION] v4.8-rc: DT/OCTEON driver probing broken
Date: Tue, 16 Aug 2016 18:00:57 +0300	[thread overview]
Message-ID: <20160816150056.GD18731@ak-desktop.emea.nsn-net.net> (raw)

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.

             reply	other threads:[~2016-08-17  1:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 15:00 Aaro Koskinen [this message]
2016-08-28 10:34 ` [BISECTED REGRESSION] v4.8-rc: DT/OCTEON driver probing broken Thorsten Leemhuis
2016-08-28 12:22   ` Aaro Koskinen
2016-08-29 22:39     ` Rob Herring
2016-09-11 12:34       ` Thorsten Leemhuis
2016-08-29 17:36 ` Rob Herring
2016-08-29 18:41   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160816150056.GD18731@ak-desktop.emea.nsn-net.net \
    --to=aaro.koskinen@nokia.com \
    --cc=david.daney@cavium.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=regressions@leemhuis.info \
    --cc=robh@kernel.org \
    --cc=wangkefeng.wang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).