Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 5:29 PM, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 2:10 PM, Ulf Hansson wrote: >> On 19 December 2017 at 12:13, Rafael J. Wysocki wrote: >>> On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: > Fr

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 2:15 PM, Ulf Hansson wrote: > On 19 December 2017 at 12:19, Rafael J. Wysocki wrote: >> On Tue, Dec 19, 2017 at 12:13 PM, Rafael J. Wysocki >> wrote: >>> On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >>>

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 2:10 PM, Ulf Hansson wrote: > On 19 December 2017 at 12:13, Rafael J. Wysocki wrote: >> On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >>> On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Make the PM core avoid invoking

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Ulf Hansson
On 19 December 2017 at 12:19, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 12:13 PM, Rafael J. Wysocki wrote: >> On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >>> On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: From: Rafael J. Wysocki > > [cut] > >> >>> Moreover, w

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Ulf Hansson
On 19 December 2017 at 12:13, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >> On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> Make the PM core avoid invoking the "late" and "noirq" system-wide >>> suspend (or analogous

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 12:13 PM, Rafael J. Wysocki wrote: > On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: >> On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> [cut] > >> Moreover, what happens when/if a driver that has deployed this >> solution, sta

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-19 Thread Rafael J. Wysocki
On Tue, Dec 19, 2017 at 8:38 AM, Ulf Hansson wrote: > On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Make the PM core avoid invoking the "late" and "noirq" system-wide >> suspend (or analogous) callbacks provided by device drivers directly >> for devices

Re: [PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-18 Thread Ulf Hansson
On 10 December 2017 at 01:00, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the PM core avoid invoking the "late" and "noirq" system-wide > suspend (or analogous) callbacks provided by device drivers directly > for devices with DPM_FLAG_SMART_SUSPEND set that are in runtime > suspen

[PATCH 3/4] PM / core: Direct DPM_FLAG_SMART_SUSPEND optimization

2017-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the PM core avoid invoking the "late" and "noirq" system-wide suspend (or analogous) callbacks provided by device drivers directly for devices with DPM_FLAG_SMART_SUSPEND set that are in runtime suspend during the "late" and "noirq" phases of system-wide suspend (or a