android_kernel_xiaomi_sm8350/drivers/base
Greg Kroah-Hartman d779249ed4 Driver Core: add ability for drivers to do a threaded probe
This adds the infrastructure for drivers to do a threaded probe, and
waits at init time for all currently outstanding probes to complete.

A new kernel thread will be created when the probe() function for the
driver is called, if the multithread_probe bit is set in the driver
saying it can support this kind of operation.

I have tested this with USB and PCI, and it works, and shaves off a lot
of time in the boot process, but there are issues with finding root boot
disks, and some USB drivers assume that this can never happen, so it is
currently not enabled for any bus type.  Individual drivers can enable
this right now if they wish, and bus authors can selectivly turn it on
as well, once they determine that their subsystem will work properly
with it.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-25 21:08:40 -07:00
..
power Driver core: fix comments in drivers/base/power/resume.c 2006-09-25 21:08:39 -07:00
attribute_container.c [PATCH] Driver Core: remove unused exports 2006-06-21 12:40:48 -07:00
base.h drivers/base: check errors 2006-09-25 21:08:39 -07:00
bus.c drivers/base: check errors 2006-09-25 21:08:39 -07:00
class.c Class: add support for class interfaces for devices 2006-09-25 21:08:38 -07:00
core.c drivers/base: Platform notify needs to occur before drivers attach to the device 2006-09-25 21:08:39 -07:00
cpu.c [PATCH] sched: mc/smt power savings sched policy 2006-06-27 17:32:45 -07:00
dd.c Driver Core: add ability for drivers to do a threaded probe 2006-09-25 21:08:40 -07:00
dmapool.c [PATCH] add poison.h and patch primary users 2006-06-27 17:32:38 -07:00
driver.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
firmware_class.c [PATCH] firmware_class: s/semaphores/mutexes 2006-06-21 12:40:49 -07:00
firmware.c [PATCH] drivers/base - fix sparse warnings 2005-10-28 09:52:55 -07:00
hypervisor.c [S390] hypfs comment cleanup. 2006-09-20 15:58:44 +02:00
init.c [PATCH] Driver Core: Add /sys/hypervisor when needed 2006-06-21 12:40:48 -07:00
isa.c [PATCH] Driver model: add ISA bus 2006-06-21 12:40:49 -07:00
Kconfig [PATCH] don't select CONFIG_HOTPLUG 2006-07-10 13:24:12 -07:00
Makefile [PATCH] Driver model: add ISA bus 2006-06-21 12:40:49 -07:00
map.c [PATCH] kobj_map semaphore to mutex conversion 2006-03-20 13:42:58 -08:00
memory.c [PATCH] pgdat allocation for new node add (specify node id) 2006-06-27 17:32:35 -07:00
node.c [PATCH] /proc/meminfo: don't put spaces in names 2006-08-27 11:01:33 -07:00
platform.c PM: platform_bus and late_suspend/early_resume 2006-09-25 21:08:38 -07:00
sys.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
topology.c [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
transport_class.c