- 09 Sep, 2003 1 commit
-
-
Dave Jones authored
From: Hiroshi Miura <miura@da-cha.org> Intel SpeedStep driver using a BIOS SMI call. Quoting his original announcement: "This driver is based on the information from 1. Microsoft Windows XP Document. we can get the SMI interface values from ax=E980/int15 BIOS call. 2. Intel SpeedStep Applet Document.(from HP.com) http://h18007.www1.hp.com/support/files/evonotebook/us/download/10631.html " Adds code to request transition ownership when processing the system critical resume message. When a critical hibernate occurs, the Applet does not receive any system level notification. The change forces the Applet to re-acquire transition ownership upon resume from a critical hibernate. " This is informative. This saied that something 'ownership' call is needed on SMI interface first. 3. Grover, Andrew's int 15h patch posted to cpufreq ml Message-ID: <F760B14C9561B941B89469F59BA3A847E96E28@orsmsx401.jf.intel.com> code which call BIOS to get SMI values. I included it. 4. Malik Martin's rev engineering results. call is made with BX, CX, EDI register values. and need signature 'ISG' when call. find function values. bx=1(get) and bx=2(set) 5. Marc Lehmann's 'speedstep' utility, sample of assembler code to call SMI. 6. My work. find function to return max/min freq which system supportd. (bx=4) more values are gotten, but I cannot understand... find 'ownership' function value(bx=0, which is other than 1 2 4..). ToDo(in pregress) support governor "auto" and using smi_event call, imprement auto freqchange feature. test on 440BX/ZX platform. Memo module parameters are override result of an int 15h/eax=E890h call. these parameter value are gotten from Windows XP registory." Also includes some bugfixes, updates and workarounds from me. NB: A lot of BIOS out there are buggy. You might want to try this driver also with Intel's default values -- smi_cmd = 0x82 and smi_port = 0xb2
-
- 05 Sep, 2003 2 commits
-
-
Dave Jones authored
Add template for Nehemiah.
-
Dave Jones authored
-
- 04 Sep, 2003 7 commits
-
-
Dave Jones authored
-
Dave Jones authored
The 'match voltage to frequency' routine is complete crap and needs rewriting. (It also only works for a single stepping of C3) I'll redo it when I find the specs again. In the meantime, it doesn't work properly, so kill it.
-
Dave Jones authored
These are currently unsupported, and I get quite a lot of mails asking about it. Hopefully this will be a little more informative than 'unknown CPU'.
-
Dave Jones authored
-
Dave Jones authored
this was wrong in several places by a factor of 100. Introduce a calc_speed helper to make this harder to get wrong. Additionally, clean up some printk's to print out useful values like MinMult=3.5x instead of MinMult(x10)=35.
-
Dave Jones authored
-
Dave Jones authored
-
- 03 Sep, 2003 15 commits
-
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
Also add a config option so that the default governor [which is loaded and enabled at boot] is started. Note that if you select "performance" here, the CPU will be set to the highest possible frequency even if the CPU was booted at a lower frequency. If you select "userspace", the frequency will stay the same.
-
Dave Jones authored
Governors are for CPUfreq drivers which have a ->target callback, Policies are for CPUfreq drivers which have a ->setpolicy callback. Also, the "hardwired" governors "powersave" and "performance" are removed.
-
Dave Jones authored
-
Dave Jones authored
Module names of 'userspace' aren't very informative.
-
Dave Jones authored
cpuferq hakcers cnat spel.
-
Dave Jones authored
Also remove $Id$ tag. No other code change.
-
- 02 Sep, 2003 10 commits
-
-
Linus Torvalds authored
This makes "allyesconfig" do a better job.
-
Linus Torvalds authored
broken on SMP (due to expecting global irq locking).
-
Jeff Garzik authored
-
Linus Torvalds authored
From Andries Brouwer <aebr@win.tue.nl>: we discard the double release keypress, but we did it without clearing the "last byte was E0" flag. So the next byte in the input stream would get corrupted.
-
Adrian Bunk authored
- let more drivers that don't compile depend on BROKEN - MTD_BLKMTD is fixed, remove the dependency on BROKEN - let all drivers that don't compile on SMP (due to cli/sti usage) depend on a BROKEN_ON_SMP that is only defined if !SMP || BROKEN - #include interrupt.h for dummy cli/sti/... in two files to fix the UP compilation of these files I marked only drivers that are broken for a long time and where I don't know about existing fixes with BROKEN or BROKEN_ON_SMP.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Bartlomiej Zolnierkiewicz authored
ide: forward-port siimage driver changes from 2.4.22
-
Bartlomiej Zolnierkiewicz authored
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> This patch seem to have been lost, so here it is again. It fixes an Ooops on unregistering hwifs due to the device model now having mandatory release() functions. It also close the possible race we had on release if the entry was in use (by or /sys typically) by using a semaphore waiting for the release() to be called after doing an unregister.
-
Ben Collins authored
Include vmalloc.h to fix compilation of raw1394.c
-
Arnaldo Carvalho de Melo authored
o scsi/imm.h: use c99 style initialization As far as I verified this also fixes a bug when doing the table lookup for IMM_EPP_32, that would result in "Unknown" as IMM_EPP_32 is equal to 6 and there is the #ifdef... ChangeSet@1.1386, 2003-09-02 00:11:07-03:00, acme@allegro.kerneljanitors.org o scsi/*.h: remove not needed #define NULL ChangeSet@1.1385, 2003-09-02 00:05:16-03:00, acme@allegro.kerneljanitors.org o scsi/3w-xxx.h: use c99 style init
-
- 01 Sep, 2003 5 commits
-
-
David S. Miller authored
-
Rusty Russell authored
Previously, default aliases were hardwired into modutils. Now they should be inside the modules, using MODULE_ALIAS() (they will be overridden by any user alias).
-
Jeff Garzik authored
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Linus Torvalds authored
We had some races where we testecd (or set) TS_USEDFPU together with sequences that depended on the setting (like clearing or setting the TS flag in %cr0) and we could be preempted in between, which screws up the FPU state, since preemption will itself change USEDFPU and the TS flag. This makes it a lot more explicit: the "internal" low-level FPU functions ("__xxxx_fpu()") all require preemption to be disabled, and the exported "real" functions will make sure that is the case. One case - in __switch_to() - was switched to the non-preempt-safe internal version, since the scheduler itself has already disabled preemption.
-