Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Ulf Hansson
On 6 May 2015 at 16:43, Alan Stern wrote: > On Wed, 6 May 2015, Ulf Hansson wrote: > >> On 30 April 2015 at 16:53, Alan Stern wrote: >> > On Thu, 30 Apr 2015, Ulf Hansson wrote: >> > >> >> I hesitated to send this reply, since it might add confusion. If >> >> that's the case, please ignore it.

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, Ulf Hansson wrote: > On 30 April 2015 at 16:53, Alan Stern wrote: > > On Thu, 30 Apr 2015, Ulf Hansson wrote: > > > >> I hesitated to send this reply, since it might add confusion. If > >> that's the case, please ignore it. > >> > >> I have a long term vision to fully enable

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Ulf Hansson
On 30 April 2015 at 16:53, Alan Stern wrote: > On Thu, 30 Apr 2015, Ulf Hansson wrote: > >> I hesitated to send this reply, since it might add confusion. If >> that's the case, please ignore it. >> >> I have a long term vision to fully enable support for a runtime PM >> centric configuration for

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Ulf Hansson
On 30 April 2015 at 16:53, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 30 Apr 2015, Ulf Hansson wrote: I hesitated to send this reply, since it might add confusion. If that's the case, please ignore it. I have a long term vision to fully enable support for a runtime PM centric

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Alan Stern
On Wed, 6 May 2015, Ulf Hansson wrote: On 30 April 2015 at 16:53, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 30 Apr 2015, Ulf Hansson wrote: I hesitated to send this reply, since it might add confusion. If that's the case, please ignore it. I have a long term vision to fully

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-05-06 Thread Ulf Hansson
On 6 May 2015 at 16:43, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 6 May 2015, Ulf Hansson wrote: On 30 April 2015 at 16:53, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 30 Apr 2015, Ulf Hansson wrote: I hesitated to send this reply, since it might add confusion. If

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-30 Thread Alan Stern
On Thu, 30 Apr 2015, Ulf Hansson wrote: > I hesitated to send this reply, since it might add confusion. If > that's the case, please ignore it. > > I have a long term vision to fully enable support for a runtime PM > centric configuration for drivers/subsystems. The idea is, that such >

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-30 Thread Ulf Hansson
On 20 April 2015 at 16:12, Alan Stern wrote: > On Mon, 20 Apr 2015, Tomeu Vizoso wrote: > >> On 17 April 2015 at 19:30, Alan Stern wrote: >> > On Fri, 17 Apr 2015, Laurent Pinchart wrote: >> > >> >> Hi Tomeu, >> >> >> >> Thank you for the patch. >> >> >> >> On Friday 17 April 2015 17:24:49 Tomeu

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-30 Thread Ulf Hansson
On 20 April 2015 at 16:12, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 20 Apr 2015, Tomeu Vizoso wrote: On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-30 Thread Alan Stern
On Thu, 30 Apr 2015, Ulf Hansson wrote: I hesitated to send this reply, since it might add confusion. If that's the case, please ignore it. I have a long term vision to fully enable support for a runtime PM centric configuration for drivers/subsystems. The idea is, that such

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-28 Thread Rafael J. Wysocki
On Tuesday, April 28, 2015 04:26:39 PM Tomeu Vizoso wrote: > On 20 April 2015 at 16:12, Alan Stern wrote: > > On Mon, 20 Apr 2015, Tomeu Vizoso wrote: > > > >> On 17 April 2015 at 19:30, Alan Stern wrote: > >> > On Fri, 17 Apr 2015, Laurent Pinchart wrote: > >> > > >> >> Hi Tomeu, > >> >> > >>

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-28 Thread Tomeu Vizoso
On 20 April 2015 at 16:12, Alan Stern wrote: > On Mon, 20 Apr 2015, Tomeu Vizoso wrote: > >> On 17 April 2015 at 19:30, Alan Stern wrote: >> > On Fri, 17 Apr 2015, Laurent Pinchart wrote: >> > >> >> Hi Tomeu, >> >> >> >> Thank you for the patch. >> >> >> >> On Friday 17 April 2015 17:24:49 Tomeu

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-28 Thread Tomeu Vizoso
On 20 April 2015 at 16:12, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 20 Apr 2015, Tomeu Vizoso wrote: On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-28 Thread Rafael J. Wysocki
On Tuesday, April 28, 2015 04:26:39 PM Tomeu Vizoso wrote: On 20 April 2015 at 16:12, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 20 Apr 2015, Tomeu Vizoso wrote: On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote:

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-20 Thread Alan Stern
On Mon, 20 Apr 2015, Tomeu Vizoso wrote: > On 17 April 2015 at 19:30, Alan Stern wrote: > > On Fri, 17 Apr 2015, Laurent Pinchart wrote: > > > >> Hi Tomeu, > >> > >> Thank you for the patch. > >> > >> On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: > >> > Introduce a new per-device flag

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-20 Thread Tomeu Vizoso
On 17 April 2015 at 19:30, Alan Stern wrote: > On Fri, 17 Apr 2015, Laurent Pinchart wrote: > >> Hi Tomeu, >> >> Thank you for the patch. >> >> On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: >> > Introduce a new per-device flag power.force_direct_complete that will >> > instruct the PM core

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-20 Thread Tomeu Vizoso
On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: Introduce a new per-device flag power.force_direct_complete that will instruct the

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-20 Thread Alan Stern
On Mon, 20 Apr 2015, Tomeu Vizoso wrote: On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: Introduce a new per-device flag

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Alan Stern
On Fri, 17 Apr 2015, Laurent Pinchart wrote: > Hi Tomeu, > > Thank you for the patch. > > On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: > > Introduce a new per-device flag power.force_direct_complete that will > > instruct the PM core to ignore the runtime PM status of its descendants >

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Laurent Pinchart
Hi Tomeu, Thank you for the patch. On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: > Introduce a new per-device flag power.force_direct_complete that will > instruct the PM core to ignore the runtime PM status of its descendants > when deciding whether to let this device remain in runtime

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Greg Kroah-Hartman
On Fri, Apr 17, 2015 at 05:24:49PM +0200, Tomeu Vizoso wrote: > Introduce a new per-device flag power.force_direct_complete that will > instruct the PM core to ignore the runtime PM status of its descendants > when deciding whether to let this device remain in runtime suspend when > the system

[PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Tomeu Vizoso
Introduce a new per-device flag power.force_direct_complete that will instruct the PM core to ignore the runtime PM status of its descendants when deciding whether to let this device remain in runtime suspend when the system goes into a sleep power state. This is needed because otherwise it would

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Alan Stern
On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: Introduce a new per-device flag power.force_direct_complete that will instruct the PM core to ignore the runtime PM status of its descendants when

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Laurent Pinchart
Hi Tomeu, Thank you for the patch. On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote: Introduce a new per-device flag power.force_direct_complete that will instruct the PM core to ignore the runtime PM status of its descendants when deciding whether to let this device remain in runtime

[PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Tomeu Vizoso
Introduce a new per-device flag power.force_direct_complete that will instruct the PM core to ignore the runtime PM status of its descendants when deciding whether to let this device remain in runtime suspend when the system goes into a sleep power state. This is needed because otherwise it would

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-17 Thread Greg Kroah-Hartman
On Fri, Apr 17, 2015 at 05:24:49PM +0200, Tomeu Vizoso wrote: Introduce a new per-device flag power.force_direct_complete that will instruct the PM core to ignore the runtime PM status of its descendants when deciding whether to let this device remain in runtime suspend when the system goes