Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Rafael J. Wysocki
On Friday, November 06, 2015 11:58:40 AM Grygorii Strashko wrote: > On 11/06/2015 02:13 AM, Rafael J. Wysocki wrote: > > On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: > >> On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > >>> It is unsafe [1] if probing of devices will happen

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 06:07:45 PM Greg Kroah-Hartman wrote: > On Fri, Nov 06, 2015 at 03:04:10AM +0100, Rafael J. Wysocki wrote: > > On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > > > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > > > On

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Grygorii Strashko
On 11/06/2015 02:13 AM, Rafael J. Wysocki wrote: On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: It is unsafe [1] if probing of devices will happen during suspend or hibernation and system behavior will be unpredictable in

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Grygorii Strashko
On 11/06/2015 02:13 AM, Rafael J. Wysocki wrote: On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: It is unsafe [1] if probing of devices will happen during suspend or hibernation and system behavior will be unpredictable in

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Rafael J. Wysocki
On Friday, November 06, 2015 11:58:40 AM Grygorii Strashko wrote: > On 11/06/2015 02:13 AM, Rafael J. Wysocki wrote: > > On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: > >> On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > >>> It is unsafe [1] if probing of devices will happen

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-06 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 06:07:45 PM Greg Kroah-Hartman wrote: > On Fri, Nov 06, 2015 at 03:04:10AM +0100, Rafael J. Wysocki wrote: > > On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > > > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > > > On

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 03:04:10AM +0100, Rafael J. Wysocki wrote: > On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > > > On

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > > > It is

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Greg Kroah-Hartman
On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > > It is unsafe [1] if probing of devices will happen during suspend or > > > hibernation

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: > On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > > It is unsafe [1] if probing of devices will happen during suspend or > > hibernation and system behavior will be unpredictable in this case > > (for example: after successful

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Pavel Machek
On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > It is unsafe [1] if probing of devices will happen during suspend or > hibernation and system behavior will be unpredictable in this case > (for example: after successful probe the device potentially has a different > set of PM callbacks than

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > It is unsafe [1] if probing of devices will happen during suspend or > > hibernation and system behavior will be unpredictable in this case > > (for example:

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 11:19:03 PM Pavel Machek wrote: > On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > > It is unsafe [1] if probing of devices will happen during suspend or > > hibernation and system behavior will be unpredictable in this case > > (for example: after successful

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Greg Kroah-Hartman
On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > > It is unsafe [1] if probing of devices will happen during suspend or > > > hibernation

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Pavel Machek
On Mon 2015-10-19 23:54:24, Grygorii Strashko wrote: > It is unsafe [1] if probing of devices will happen during suspend or > hibernation and system behavior will be unpredictable in this case > (for example: after successful probe the device potentially has a different > set of PM callbacks than

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > It is unsafe [1] if probing of devices will happen during suspend or > > hibernation and system behavior will be unpredictable in this case > > (for example:

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Rafael J. Wysocki
On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > > On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > > > > It is

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-05 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2015 at 03:04:10AM +0100, Rafael J. Wysocki wrote: > On Thursday, November 05, 2015 04:09:57 PM Greg Kroah-Hartman wrote: > > On Thu, Nov 05, 2015 at 11:38:23PM +0100, Rafael J. Wysocki wrote: > > > On Monday, November 02, 2015 02:25:00 AM Rafael J. Wysocki wrote: > > > > On

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-01 Thread Rafael J. Wysocki
On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > It is unsafe [1] if probing of devices will happen during suspend or > hibernation and system behavior will be unpredictable in this case > (for example: after successful probe the device potentially has a different > set of PM

Re: [PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-11-01 Thread Rafael J. Wysocki
On Monday, October 19, 2015 11:54:24 PM Grygorii Strashko wrote: > It is unsafe [1] if probing of devices will happen during suspend or > hibernation and system behavior will be unpredictable in this case > (for example: after successful probe the device potentially has a different > set of PM

[PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-10-19 Thread Grygorii Strashko
It is unsafe [1] if probing of devices will happen during suspend or hibernation and system behavior will be unpredictable in this case (for example: after successful probe the device potentially has a different set of PM callbacks than before [2]). So, let's prohibit device's probing in

[PATCH v2] PM / sleep: prohibit devices probing during suspend/hibernation

2015-10-19 Thread Grygorii Strashko
It is unsafe [1] if probing of devices will happen during suspend or hibernation and system behavior will be unpredictable in this case (for example: after successful probe the device potentially has a different set of PM callbacks than before [2]). So, let's prohibit device's probing in