login
Header Space

 
 

RE: [linux-pm] [PATCH] cpuidle: avoid singing capacitors

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pierre Ossman <drzeus-list@...>, Len Brown <lenb@...>
Cc: <linux-pm@...>, Pavel Machek <pavel@...>, LKML <linux-kernel@...>, Adam Belay <abelay@...>, Andi Kleen <andi@...>, Lee Revell <rlrevell@...>
Date: Friday, March 14, 2008 - 5:15 pm

>-----Original Message-----

BIOSes do that on some platforms, exposing deeper C-states on battery.


Why go only one C-state down. Why not directly drop to max_hwcstate? We
don't need to loop through that way.

There are few other concerns which make me feel that the patch will be
not as simple as this.
1) BIOS may already be exporting the lower C-states as separate states.
In which case we just have to ignore this deep C-state and return. I
mean, on your system if BIOS exports C1, C3 and C6 hardware C-states and
you give max_hwcstate as C3, then we don't want to have C1, C3 and C3 in
our list.

2) On same lines the other information in ACPI like (low power of 100
and higher latency for C6 on your system) corresponds to hardware C6
state. If we change the hardware C-state here to C3, then continue to
use latency info from ACPI for hw C6, that may lead to inefficient state
selection in the governor. Also, ther are assumptions related DMA,
lapic, TSC etc in upper level ACPI based on "ACPI C-state" and changing
underlying hardware C-state to C1 for example will change some of those
behavior.


Thanks,
Venki
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Fri Feb 29, 2:38 pm)
[PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Mon Mar 3, 4:18 pm)
Re: [PATCH] cpuidle: avoid singing capacitors, Pavel Machek, (Mon Mar 3, 4:46 pm)
Re: [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Mon Mar 3, 5:03 pm)
Re: [PATCH] cpuidle: avoid singing capacitors, Pavel Machek, (Mon Mar 3, 5:08 pm)
RE: [PATCH] cpuidle: avoid singing capacitors, Pallipadi, Venkatesh, (Mon Mar 3, 5:14 pm)
Re: [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Mon Mar 3, 5:17 pm)
RE: [PATCH] cpuidle: avoid singing capacitors, Pallipadi, Venkatesh, (Mon Mar 3, 6:04 pm)
Re: [PATCH] cpuidle: avoid singing capacitors, Andi Kleen, (Mon Mar 3, 7:09 pm)
RE: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pallipadi, Venkatesh, (Tue Mar 4, 3:01 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Sun Mar 9, 10:16 am)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Tue Mar 11, 3:51 am)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Tue Mar 11, 11:20 am)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Tue Mar 11, 1:31 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Mon Mar 10, 8:49 am)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Thu Mar 13, 12:34 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Fri Mar 14, 3:40 pm)
RE: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pallipadi, Venkatesh, (Fri Mar 14, 5:15 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Fri Mar 14, 8:41 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Thu Mar 13, 1:49 pm)
RE: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pallipadi, Venkatesh, (Thu Mar 13, 12:47 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Thu Mar 13, 1:44 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Mon Mar 10, 9:29 am)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Henrique de Moraes Holschuh..., (Sun Mar 9, 3:30 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Henrique de Moraes Holschuh..., (Sun Mar 9, 4:41 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Henrique de Moraes Holschuh..., (Sun Mar 9, 4:54 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Rafael J. Wysocki, (Sun Mar 9, 2:19 pm)
Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Wed Mar 5, 12:53 pm)
Re: [RFC][PATCH] cpuidle: avoid singing capacitors, Andi Kleen, (Mon Mar 3, 8:36 am)
Re: [RFC][PATCH] cpuidle: avoid singing capacitors, Lee Revell, (Sat Mar 1, 10:27 pm)
Re: [RFC][PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Sun Mar 2, 10:17 am)
Re: [RFC][PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Sat Mar 1, 9:40 am)
Re: [RFC][PATCH] cpuidle: avoid singing capacitors, Lennart Sorensen, (Fri Feb 29, 5:44 pm)
Re: [RFC][PATCH] cpuidle: avoid singing capacitors, Pierre Ossman, (Sat Mar 1, 8:31 am)
speck-geostationary