[RFC PATCH v3] drivercore: Add driver probe deferral mechanism

Alan Cox alan at lxorguk.ukuu.org.uk
Thu Sep 22 18:47:37 EDT 2011


> How would a given driver know that something else is waiting for it?  Or 
> would we add the explicit kick to each and every driver in the tree?

I think there are very very few drivers that have this property and don't
already implicitly cause a probe by creating a new bus or device.

Those drivers that set something up for another device really should
know what is going on because they are making a guarantee that they are
ready for the other device to call into them or whatever is going on at
some point, either explicitly in the kick or implicitly in returning from
their probe method.

I know which I think is clearer and easier for a 3rd party to see and not
miss completely when updating code.

Alan



More information about the linux-arm-kernel mailing list