[RFC 00/15] Resource tracking/allocation framework

2014-12-10 Thread A H
10 gru 2014 17:16 "Russell King - ARM Linux" napisał(a): > > On Wed, Dec 10, 2014 at 04:48:18PM +0100, Andrzej Hajda wrote: > > 3. There are drivers which can work without specific resource, but if > > the resource becomes available/unavailable it can do some additional stuff. > > An example

[RFC 00/15] Resource tracking/allocation framework

2014-12-10 Thread Russell King - ARM Linux
On Wed, Dec 10, 2014 at 06:23:49PM +0100, A H wrote: > 10 gru 2014 17:16 "Russell King - ARM Linux" > napisał(a): > > > > On Wed, Dec 10, 2014 at 04:48:18PM +0100, Andrzej Hajda wrote: > > > 3. There are drivers which can work without specific resource, but if > > > the resource becomes availab

[RFC 00/15] Resource tracking/allocation framework

2014-12-10 Thread Andrzej Hajda
Hi, Many kernel frameworks that uses provider/consumer schema suffer from few issues: 1. They have broken driver unbinding handling. When device driver of the provider is unbound from the device, its consumers stay with reference to non-existing objects, as a result we can observe oopses, cra

[RFC 00/15] Resource tracking/allocation framework

2014-12-10 Thread Russell King - ARM Linux
On Wed, Dec 10, 2014 at 04:48:18PM +0100, Andrzej Hajda wrote: > 3. There are drivers which can work without specific resource, but if > the resource becomes available/unavailable it can do some additional stuff. > An example of such driver is DRM driver (more precisely drm_connector) - > it