Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-05-04 Thread Rafael J. Wysocki
On Friday, May 02, 2014 03:19:55 PM Daniel Lezcano wrote: > On 05/02/2014 02:20 PM, Rafael J. Wysocki wrote: > > On Friday, May 02, 2014 10:47:48 AM Daniel Lezcano wrote: > >> On 04/30/2014 01:16 AM, Rafael J. Wysocki wrote: > >>> On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: > >>

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-05-02 Thread Daniel Lezcano
On 05/02/2014 02:20 PM, Rafael J. Wysocki wrote: On Friday, May 02, 2014 10:47:48 AM Daniel Lezcano wrote: On 04/30/2014 01:16 AM, Rafael J. Wysocki wrote: On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: On 04/27/2014

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-05-02 Thread Rafael J. Wysocki
On Friday, May 02, 2014 10:47:48 AM Daniel Lezcano wrote: > On 04/30/2014 01:16 AM, Rafael J. Wysocki wrote: > > On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: > >> On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: > >>> On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: >

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-05-02 Thread Daniel Lezcano
On 04/30/2014 01:16 AM, Rafael J. Wysocki wrote: On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: [ ... ] --- From: Rafael J. Wysocki Subject: cpuidle / menu: Return

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-04-30 Thread Daniel Lezcano
On 04/29/2014 01:28 AM, Rafael J. Wysocki wrote: On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki If there is a PM QoS latency limit and all of the sufficiently shallow C-states are disabled, the cpuidle menu

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-04-29 Thread Rafael J. Wysocki
On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: > On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: > > On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > If there is a PM QoS latency limit and all of the sufficiently shallow > > >

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-04-28 Thread Rafael J. Wysocki
On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: > On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If there is a PM QoS latency limit and all of the sufficiently shallow > > C-states are disabled, the cpuidle menu governor returns 0 which on > > some

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-04-28 Thread Daniel Lezcano
On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki If there is a PM QoS latency limit and all of the sufficiently shallow C-states are disabled, the cpuidle menu governor returns 0 which on some systems is CPUIDLE_DRIVER_STATE_START and shouldn't be returned if that C-stat

[PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-04-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If there is a PM QoS latency limit and all of the sufficiently shallow C-states are disabled, the cpuidle menu governor returns 0 which on some systems is CPUIDLE_DRIVER_STATE_START and shouldn't be returned if that C-state has been disabled. Fix the issue by modifying th