From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dominik Brodowski Subject: Re: [new] event mode on speedstep-smi. Date: Fri, 5 Sep 2003 08:56:04 +0200 Sender: cpufreq-bounces+glkc-cpufreq=gmane.org@www.linux.org.uk Message-ID: <20030905065604.GD4003@brodo.de> References: <87ekywzjvm.wl%miura@da-cha.org> <20030904153013.GJ4401@poupinou.org> <87d6egyvfo.wl%miura@da-cha.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <87d6egyvfo.wl%miura@da-cha.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cpufreq-bounces+glkc-cpufreq=gmane.org@www.linux.org.uk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Hiroshi Miura Cc: Ducrot Bruno , "'cpufreq@www linux org uk'" On Fri, Sep 05, 2003 at 08:40:11AM +0900, Hiroshi Miura wrote: > At Thu, 4 Sep 2003 17:30:13 +0200, > Ducrot Bruno wrote: > > > > > perf_level: high 16bit is 0x07d0. this is 2000 in decimal. > > > I think this means polling interval is 2000ms. > > > > > > This code is based on my original one. > > > Ducrot, How about this? > > > > > > > I don't understand the real use for. Does this permit > > to switch from performance to powersave when plug in/out ac? > > If yes, you can have the exact same behaviour via acpi and acpid, > > with an interrupt driven approach instaead of just polling. > > Yes, now this only switch when plug in/out ac. > I am also using acpi/acpid staff to switch it. > My posted code is now only experimental. > > BTW, I want to understand Enhanced Intel SpeedStep Technology. > > I don't know whether 440MX based M-Pentium III-(M) supports > EIST or not, but I have tried to switch to demand based switching mode. > > Someone said this is a point feature of EIST. > At least, M-Pentium-III-(M) (Tullantin) is EIST ready. > > If SMI interface supported EIST, I think something 'polling' may be needed. > My code is to try this. I am now looking for EIST function call on SMI. I _think_ that within EIST the demand should be detected by the kernel based on its load. If your assumption is right, though, such a governor would be a great addition. Dominik