PowerOP 2/3: Intel Centrino support

2005-08-08 Thread Todd Poynor
Minimal PowerOP support for Intel Enhanced Speedstep "Centrino" notebooks. These systems run at an operating point comprised of a cpu frequency and a core voltage. The voltage could be set from the values recommended in the datasheets if left unspecified (-1) in the operating point, as cpufreq do

Re: PowerOP 2/3: Intel Centrino support

2005-08-09 Thread Ingo Molnar
* Todd Poynor <[EMAIL PROTECTED]> wrote: > +static int > +powerop_centrino_get_point(struct powerop_point *point) > +{ > + unsigned l, h; > + unsigned cpu_freq; > + > + rdmsr(MSR_IA32_PERF_STATUS, l, h); > + if (unlikely((cpu_freq = ((l >> 8) & 0xff) * 100) == 0)) { > +

Re: PowerOP 2/3: Intel Centrino support

2005-08-10 Thread Pavel Machek
Hi! > Minimal PowerOP support for Intel Enhanced Speedstep "Centrino" > notebooks. These systems run at an operating point comprised of a cpu > frequency and a core voltage. The voltage could be set from the values > recommended in the datasheets if left unspecified (-1) in the operating > point

Re: PowerOP 2/3: Intel Centrino support

2005-08-10 Thread Bruno Ducrot
On Wed, Aug 10, 2005 at 12:01:33PM +0200, Pavel Machek wrote: > Hi! > > > Minimal PowerOP support for Intel Enhanced Speedstep "Centrino" > > notebooks. These systems run at an operating point comprised of a cpu > > frequency and a core voltage. The voltage could be set from the values > > recom

Re: PowerOP 2/3: Intel Centrino support

2005-08-10 Thread Todd Poynor
Bruno Ducrot wrote: > ATM I'm wondering what are the pro for those patches wrt current cpufreq infrastructure (especially cpufreq's notion of notifiers). I still don't find a good one but I'm surely missing something obvious. This is lower layer than cpufreq, intended for use by cpufreq (and

Re: PowerOP 2/3: Intel Centrino support

2005-08-11 Thread Jordan Crouse
> I've attempted to extoll the benefits of adding these interfaces in > previous emails, and if after that it still seems mystifying why anybody > would want to do this then I'll take the heat for doing a lousy job of > extolling. I've also admitted that it is primarily of use in > embedded-sp

Re: PowerOP 2/3: Intel Centrino support

2005-08-12 Thread Todd Poynor
Jordan Crouse wrote: When it comes to embedded power management concepts, a consistant theme is that people often question the usefulness, redundancy or complexity of a solution. This is perfectly understandable, since such a huge majority of the power management experts and users are concentra

Re: [linux-pm] Re: PowerOP 2/3: Intel Centrino support

2005-08-10 Thread Dave Jones
On Wed, Aug 10, 2005 at 02:58:48PM +0200, Bruno Ducrot wrote: > > > Minimal PowerOP support for Intel Enhanced Speedstep "Centrino" > > > notebooks. These systems run at an operating point comprised of a cpu > > > frequency and a core voltage. The voltage could be set from the values > > > r

Re: [linux-pm] Re: PowerOP 2/3: Intel Centrino support

2005-08-10 Thread Todd Poynor
Dave Jones wrote: I'm glad I'm not the only one who feels he's too dumb to see the advantages of this. The added complexity to expose something that in all cases, we actually don't want to expose seems a little pointless to me. For example, most of the x86 drivers, if you set a speed, and then s

Re: [linux-pm] Re: PowerOP 2/3: Intel Centrino support

2005-08-12 Thread Nikolay Pelov
On Wed, 10 Aug 2005, Dave Jones wrote: > > For example, most of the x86 drivers, if you set a speed, and then > start fiddling with the voltage, you can pretty much guarantee > you'll crash within the next few seconds. They have to match, > or at the least, be within a very small margin. > > Gi