[PATCH v2 0/4] driver core: allow explicit deferred probe preference

Luis R. Rodriguez
2014-07-28T18:28:42Z

From: "Luis R. Rodriguez" <mcgrof@suse.com>

This adds support to let device drivers explicitly request to be
probed on the deferred workqueue. Note that another ideal solution
on top of this would be if we could detect somehow if kthread_create()
was SIGKILL'd for a modprobe, and also driver_deferred_probe_add() the
device there proactively. This would enable us to not have to be hunting
for these device drivers as a fix after a problem popped up. That would
allow us to look for device drivers that need this change in a proactive
way but without failing them first -- I just can't think of a way to do
this yet.

Luis R. Rodriguez (4):
driver core: move deferred probe add / remove helpers down a bit
driver core: enable drivers to use deferred probe from init
cxgb4: ask for deferred probe
mptsas: ask for deferred probe

drivers/base/dd.c | 58 ++++++++++++++++---------
drivers/message/fusion/mptsas.c | 3 ++
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 ++
include/linux/device.h | 7 +++
4 files changed, 50 insertions(+), 21 deletions(-)

--
2.0.1