mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Patrick Mochel <mochel@osdl.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: kernel 2.5.20 on alpha (RE: [patch] Re: kernel 2.5.18 on alpha)
Date: Wed, 5 Jun 2002 08:00:25 +1000 (EST)	[thread overview]
Message-ID: <15613.14457.3095.983212@argo.ozlabs.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0206040749530.654-100000@geena.pdx.osdl.net>

Patrick Mochel writes:

> The problem: bus_types are registered with the system, which intializes 
> all the internal fields, making them ready for use. The PCI bus is being 
> probed before the PCI bus type has been registered. 

We hit this on PPC too.

> Can pcibios_init() be demoted to a device_initcall? This would delay 
> probing until all the subsystems could be setup...

No, because we have device drivers that are initialized with a
device_initcall and which reasonably expect the PCI subsystem to be
set up before they are called.

I can see two solutions: either rename "unused_initcall" to "sys_init"
or something similar and use it for sys_bus_init, or else make an
alias for fs_initcall called "bus_init" or something and use that for
pcibios_init.

Paul.

  parent reply	other threads:[~2002-06-04 22:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-04 10:11 Oliver Pitzeier
2002-06-04 12:45 ` Oliver Pitzeier
2002-06-04 14:06   ` Oliver Pitzeier
2002-06-04 14:22     ` Jan-Benedict Glaw
2002-06-04 15:13       ` Oliver Pitzeier
2002-06-04 15:47       ` Oliver Pitzeier
2002-06-04 14:40     ` Oliver Pitzeier
2002-06-04 15:19       ` Patrick Mochel
2002-06-04 15:33         ` Oliver Pitzeier
2002-06-04 20:23         ` Michal Jaegermann
2002-06-04 20:36           ` Jeff Garzik
2002-06-04 22:00         ` Paul Mackerras [this message]
2002-06-04 22:07           ` kernel 2.5.20 on alpha David S. Miller
2002-06-04 16:24     ` kernel 2.5.20 on alpha (RE: [patch] Re: kernel 2.5.18 on alpha) Thunder from the hill
2002-06-04 20:04 ` David Mosberger

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=15613.14457.3095.983212@argo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    /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

all inboxes | Powered by JetHome®