Re: pci: add to global list before sysfs?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Saturday, April 5, 2008 - 10:12 am

On Sat, Apr 05, 2008 at 06:55:01PM +0200, Pierre Ossman wrote:

Yes.


Hey, take it up with the hardware designers compensating for an
"unclean" operating system :)


Yes, you can sleep, but it will stop the probe of subsequent devices.  I
did implement multiple threads for pci probing, but it ended up not
saving any time and causing more problems than it was worth.


No, not in a sane way as all arches walk the pci device tree for
discovery in many different ways.

I don't think that a time-out would be a big deal, it shouldn't be very
long (a second or two).  Also note that all distros would not have this
problem as they do pci discovery first, and then start loading all of
the modules in the initramfs after the pci tree has been properly
scanned.  So the very large majority of users would not have a problem.

Or are you doing this on an embedded system?

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pci: add to global list before sysfs?, Pierre Ossman, (Fri Apr 4, 10:13 am)
Re: pci: add to global list before sysfs?, Greg KH, (Fri Apr 4, 2:01 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sat Apr 5, 2:57 am)
Re: pci: add to global list before sysfs?, Greg KH, (Sat Apr 5, 8:53 am)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sat Apr 5, 9:55 am)
Re: pci: add to global list before sysfs?, Greg KH, (Sat Apr 5, 10:12 am)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sat Apr 5, 11:27 am)
Re: pci: add to global list before sysfs?, Greg KH, (Mon Apr 7, 8:41 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Sun Apr 13, 5:33 am)
Re: pci: add to global list before sysfs?, Greg KH, (Sun Apr 13, 10:51 am)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Sun Apr 13, 2:35 pm)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Sun Apr 13, 2:37 pm)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Mon Apr 14, 1:35 am)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Mon Apr 14, 1:57 am)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Mon Apr 14, 1:58 am)
Re: pci: add to global list before sysfs?, Pierre Ossman, (Mon Apr 14, 3:58 am)
Re: pci: add to global list before sysfs?, Greg KH, (Tue Apr 15, 12:13 pm)
Re: pci: add to global list before sysfs?, Benjamin Herrenschmidt, (Tue Apr 15, 2:53 pm)