Re: [RFT][PATCH 1/2] PM / domains: Rework governor code to be more consistent

2017-11-03 Thread Rafael J. Wysocki
On Fri, Nov 3, 2017 at 8:05 AM, Ramesh Thomas wrote: > On 2017-11-02 at 00:01:50 +0100, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> The genpd governor currently uses negative PM QoS values to indicate >> the "no suspend" condition and 0 as "no restriction", but it doesn't >> use the

Re: [RFT][PATCH 1/2] PM / domains: Rework governor code to be more consistent

2017-11-03 Thread Ramesh Thomas
On 2017-11-02 at 00:01:50 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The genpd governor currently uses negative PM QoS values to indicate > the "no suspend" condition and 0 as "no restriction", but it doesn't > use them consistently. Moreover, it tries to refresh QoS values fo

[RFT][PATCH 1/2] PM / domains: Rework governor code to be more consistent

2017-11-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The genpd governor currently uses negative PM QoS values to indicate the "no suspend" condition and 0 as "no restriction", but it doesn't use them consistently. Moreover, it tries to refresh QoS values for already suspended devices in a quite questionable way. For the ab