Re: [RFC] drivercore: deferral race condition fix

2014-02-24 Thread Peter Ujfalusi
On 02/24/2014 07:22 PM, Greg Kroah-Hartman wrote: > On Mon, Feb 24, 2014 at 10:40:32AM +0900, Mark Brown wrote: >> On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: >> >>> The proposed solution is to try the deferred queue once more when the last >>> driver is asking for deferring

Re: [RFC] drivercore: deferral race condition fix

2014-02-24 Thread Greg Kroah-Hartman
On Mon, Feb 24, 2014 at 10:40:32AM +0900, Mark Brown wrote: > On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: > > > The proposed solution is to try the deferred queue once more when the last > > driver is asking for deferring and we had drivers probed while this last > > driver

Re: [RFC] drivercore: deferral race condition fix

2014-02-24 Thread Greg Kroah-Hartman
On Mon, Feb 24, 2014 at 10:40:32AM +0900, Mark Brown wrote: On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: The proposed solution is to try the deferred queue once more when the last driver is asking for deferring and we had drivers probed while this last driver was

Re: [RFC] drivercore: deferral race condition fix

2014-02-24 Thread Peter Ujfalusi
On 02/24/2014 07:22 PM, Greg Kroah-Hartman wrote: On Mon, Feb 24, 2014 at 10:40:32AM +0900, Mark Brown wrote: On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: The proposed solution is to try the deferred queue once more when the last driver is asking for deferring and we had

Re: [RFC] drivercore: deferral race condition fix

2014-02-23 Thread Mark Brown
On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: > The proposed solution is to try the deferred queue once more when the last > driver is asking for deferring and we had drivers probed while this last > driver was probing. Greg, this patch doesn't seem to have been applied but it

Re: [RFC] drivercore: deferral race condition fix

2014-02-23 Thread Mark Brown
On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: The proposed solution is to try the deferred queue once more when the last driver is asking for deferring and we had drivers probed while this last driver was probing. Greg, this patch doesn't seem to have been applied but it

[RFC] drivercore: deferral race condition fix

2013-12-23 Thread Peter Ujfalusi
When the kernel is built with CONFIG_PREEMPT it is possible to reach a state when all modules are loaded but some driver still stuck in the deferred list and there is a need for external event needed to kick the deferred queue to probe these drivers. The issue has been observed on embedded

[RFC] drivercore: deferral race condition fix

2013-12-23 Thread Peter Ujfalusi
When the kernel is built with CONFIG_PREEMPT it is possible to reach a state when all modules are loaded but some driver still stuck in the deferred list and there is a need for external event needed to kick the deferred queue to probe these drivers. The issue has been observed on embedded