Thread (19 messages) 19 messages, 7 authors, 2020-04-23

Re: [PATCH v5 0/6] driver core: Improve and cleanup driver_deferred_probe_check_state()

flat view

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2020-03-04 17:12:55
Also in: lkml

On Tue, Feb 25, 2020 at 05:08:22AM +0000, John Stultz wrote:
This series goal is to improve and cleanup the
driver_deferred_probe_check_state() code in the driver core.

This series is useful for being able to support modules
dependencies which may be loaded by userland, far after
late_initcall is done. For instance, this series allows us to
successfully use various clk drivers as modules on the db845c
board. And without it, those drivers have to be statically built
in to work.

Since I first sent out this patch, Saravana suggested an
alternative approach which also works for our needs, and is a
bit simpler:
 https://lore.kernel.org/lkml/20200220055250.196456-1-saravanak@google.com/T/#u (local)

However, while that patch provides the functionality we need,
I still suspect the driver_deferred_probe_check_state() code
could benefit from the cleanup in this patch, as the existing
logic is somewhat muddy.
This looks much better, thanks for sticking with it, all now queued up.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help