Re: [RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-13 Thread Rafael J. Wysocki
On Monday, September 12, 2016 03:57:02 PM Rafael J. Wysocki wrote: > On Monday, September 12, 2016 11:47:58 AM Lukas Wunner wrote: > > On Thu, Sep 08, 2016 at 11:30:26PM +0200, Rafael J. Wysocki wrote: > > > Modify the runtime PM framework to use device links to ensure that > > > supplier devices

Re: [RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-13 Thread Rafael J. Wysocki
On Monday, September 12, 2016 03:57:02 PM Rafael J. Wysocki wrote: > On Monday, September 12, 2016 11:47:58 AM Lukas Wunner wrote: > > On Thu, Sep 08, 2016 at 11:30:26PM +0200, Rafael J. Wysocki wrote: > > > Modify the runtime PM framework to use device links to ensure that > > > supplier devices

Re: [RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-12 Thread Rafael J. Wysocki
On Monday, September 12, 2016 11:47:58 AM Lukas Wunner wrote: > On Thu, Sep 08, 2016 at 11:30:26PM +0200, Rafael J. Wysocki wrote: > > Modify the runtime PM framework to use device links to ensure that > > supplier devices will not be suspended if any of their consumer > > devices are active. > >

Re: [RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-12 Thread Rafael J. Wysocki
On Monday, September 12, 2016 11:47:58 AM Lukas Wunner wrote: > On Thu, Sep 08, 2016 at 11:30:26PM +0200, Rafael J. Wysocki wrote: > > Modify the runtime PM framework to use device links to ensure that > > supplier devices will not be suspended if any of their consumer > > devices are active. > >

Re: [RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-12 Thread Lukas Wunner
On Thu, Sep 08, 2016 at 11:30:26PM +0200, Rafael J. Wysocki wrote: > Modify the runtime PM framework to use device links to ensure that > supplier devices will not be suspended if any of their consumer > devices are active. I think it's inconsistent to runtime resume/suspend suppliers in

Re: [RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-12 Thread Lukas Wunner
On Thu, Sep 08, 2016 at 11:30:26PM +0200, Rafael J. Wysocki wrote: > Modify the runtime PM framework to use device links to ensure that > supplier devices will not be suspended if any of their consumer > devices are active. I think it's inconsistent to runtime resume/suspend suppliers in

[RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify the runtime PM framework to use device links to ensure that supplier devices will not be suspended if any of their consumer devices are active. The idea is to reference count suppliers on the consumer's resume and drop references to

[RFC/RFT][PATCH v2 6/7] PM / runtime: Use device links

2016-09-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify the runtime PM framework to use device links to ensure that supplier devices will not be suspended if any of their consumer devices are active. The idea is to reference count suppliers on the consumer's resume and drop references to them on its suspend. The