Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dan Williams
On Wed, Jul 8, 2015 at 9:44 PM, Dmitry Torokhov wrote: > On Wed, Jul 08, 2015 at 06:00:41PM -0700, Dan Williams wrote: >> On Wed, Jul 8, 2015 at 5:49 PM, Dmitry Torokhov >> wrote: >> > On Wed, Jul 08, 2015 at 05:36:04PM -0700, Dan Williams wrote: >> >> On Mon, Jul 6, 2015 at 4:40 PM, Dmitry Torok

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dmitry Torokhov
On Wed, Jul 08, 2015 at 06:00:41PM -0700, Dan Williams wrote: > On Wed, Jul 8, 2015 at 5:49 PM, Dmitry Torokhov > wrote: > > On Wed, Jul 08, 2015 at 05:36:04PM -0700, Dan Williams wrote: > >> On Mon, Jul 6, 2015 at 4:40 PM, Dmitry Torokhov > >> wrote: > >> > On Tue, Jul 07, 2015 at 01:23:15AM +02

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dan Williams
On Wed, Jul 8, 2015 at 5:49 PM, Dmitry Torokhov wrote: > On Wed, Jul 08, 2015 at 05:36:04PM -0700, Dan Williams wrote: >> On Mon, Jul 6, 2015 at 4:40 PM, Dmitry Torokhov >> wrote: >> > On Tue, Jul 07, 2015 at 01:23:15AM +0200, Luis R. Rodriguez wrote: >> >> On Sat, Jul 04, 2015 at 07:09:19AM -070

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dmitry Torokhov
On Wed, Jul 08, 2015 at 05:54:26PM -0700, Dan Williams wrote: > On Wed, Jul 8, 2015 at 5:52 PM, Dmitry Torokhov > wrote: > > On Wed, Jul 08, 2015 at 05:43:23PM -0700, Dan Williams wrote: > >> On Mon, Jul 6, 2015 at 4:38 PM, Dmitry Torokhov > >> wrote: > >> > On Sat, Jul 04, 2015 at 07:09:19AM -07

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dan Williams
On Wed, Jul 8, 2015 at 5:52 PM, Dmitry Torokhov wrote: > On Wed, Jul 08, 2015 at 05:43:23PM -0700, Dan Williams wrote: >> On Mon, Jul 6, 2015 at 4:38 PM, Dmitry Torokhov >> wrote: >> > On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: >> >> The problem I ran into was needing to remove

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dmitry Torokhov
On Wed, Jul 08, 2015 at 05:43:23PM -0700, Dan Williams wrote: > On Mon, Jul 6, 2015 at 4:38 PM, Dmitry Torokhov > wrote: > > On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: > >> The problem I ran into was needing to remove devices that still had > >> yet to be probed and not being ab

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dmitry Torokhov
On Wed, Jul 08, 2015 at 05:36:04PM -0700, Dan Williams wrote: > On Mon, Jul 6, 2015 at 4:40 PM, Dmitry Torokhov > wrote: > > On Tue, Jul 07, 2015 at 01:23:15AM +0200, Luis R. Rodriguez wrote: > >> On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: > >> > On Fri, Jul 3, 2015 at 11:30 AM,

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dan Williams
On Mon, Jul 6, 2015 at 4:38 PM, Dmitry Torokhov wrote: > On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: >> The problem I ran into was needing to remove devices that still had >> yet to be probed and not being able to use registration completion vs >> the device_lock() to effectively

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-08 Thread Dan Williams
On Mon, Jul 6, 2015 at 4:40 PM, Dmitry Torokhov wrote: > On Tue, Jul 07, 2015 at 01:23:15AM +0200, Luis R. Rodriguez wrote: >> On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: >> > On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez wrote: >> > > On Sat, Jun 27, 2015 at 04:45:25PM -07

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-07 Thread Tom Gundersen
On Tue, Jul 7, 2015 at 1:23 AM, Luis R. Rodriguez wrote: > On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: >> On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez wrote: >> > On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: >> >> On Mon, Mar 30, 2015 at 4:20 PM, Dmitry To

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-06 Thread Dmitry Torokhov
On Mon, Jun 01, 2015 at 02:04:01PM +0200, Tomeu Vizoso wrote: > On 29 May 2015 at 15:23, Tomeu Vizoso wrote: > > On 29 May 2015 at 12:48, Tomeu Vizoso wrote: > >> On 31 March 2015 at 01:20, Dmitry Torokhov > >> wrote: > >>> Some devices take a long time when initializing, and not all drivers ar

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-06 Thread Dmitry Torokhov
On Tue, Jul 07, 2015 at 01:23:15AM +0200, Luis R. Rodriguez wrote: > On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: > > On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez wrote: > > > On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: > > >> On Mon, Mar 30, 2015 at 4:20 P

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-06 Thread Dmitry Torokhov
On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: > On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez wrote: > > On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: > >> On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov > >> wrote: > >> > Some devices take a long time when i

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-06 Thread Dmitry Torokhov
On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: > On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov > wrote: > > Some devices take a long time when initializing, and not all drivers are > > suited to initialize their devices when they are open. For example, > > input drivers need to i

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-06 Thread Luis R. Rodriguez
On Sat, Jul 04, 2015 at 07:09:19AM -0700, Dan Williams wrote: > On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez wrote: > > On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: > >> On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov > >> wrote: > >> > Some devices take a long time when i

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-05 Thread Dan Williams
On Fri, Jul 3, 2015 at 11:30 AM, Luis R. Rodriguez wrote: > On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: >> On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov >> wrote: >> > Some devices take a long time when initializing, and not all drivers are >> > suited to initialize their dev

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-07-03 Thread Luis R. Rodriguez
On Sat, Jun 27, 2015 at 04:45:25PM -0700, Dan Williams wrote: > On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov > wrote: > > Some devices take a long time when initializing, and not all drivers are > > suited to initialize their devices when they are open. For example, > > input drivers need to i

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-06-27 Thread Dan Williams
On Mon, Mar 30, 2015 at 4:20 PM, Dmitry Torokhov wrote: > Some devices take a long time when initializing, and not all drivers are > suited to initialize their devices when they are open. For example, > input drivers need to interrogate their devices in order to publish > device's capabilities bef

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-06-01 Thread Tomeu Vizoso
On 29 May 2015 at 15:23, Tomeu Vizoso wrote: > On 29 May 2015 at 12:48, Tomeu Vizoso wrote: >> On 31 March 2015 at 01:20, Dmitry Torokhov wrote: >>> Some devices take a long time when initializing, and not all drivers are >>> suited to initialize their devices when they are open. For example, >>

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-05-29 Thread Tomeu Vizoso
On 29 May 2015 at 12:48, Tomeu Vizoso wrote: > On 31 March 2015 at 01:20, Dmitry Torokhov wrote: >> Some devices take a long time when initializing, and not all drivers are >> suited to initialize their devices when they are open. For example, >> input drivers need to interrogate their devices in

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-05-29 Thread Tomeu Vizoso
On 31 March 2015 at 01:20, Dmitry Torokhov wrote: > Some devices take a long time when initializing, and not all drivers are > suited to initialize their devices when they are open. For example, > input drivers need to interrogate their devices in order to publish > device's capabilities before us