Enhanced Powersaver driver
PATCH 1/1 Enhanced Powersaver driver
This is driver for Enhanced Powersaver which is present in VIA C7 processors. Beta tested by Jorgen (jorgen (at) greven dot dk). Based on documentation provided by Dave Jones (Thanks!) and C7 Eden datasheet available from www.via.com.tw. Looks like all these C7 Eden CPU's don't have P-states in BIOS. I know that 2 p-states is low, but Jorgen finds it usefull anyway because board is passive cooled. Brand detection is necessary because:
"The VIA Eden can only change from the highest supported performance state to the lowest supported performance state: intermediate performance states are not guaranteed to work and are not officially supported."
There is no such statement in C7-M documentation, so I'm allowing any multiplier between min and max for C7 and C7-M.
Jorgen's dmesg:
Quoted 7 lines
eps: Detected VIA Eden
eps: Current voltage = 844mV
eps: Current multiplier = 10
eps: Highest voltage = 844mV
eps: Highest multiplier = 10
eps: Lowest voltage = 844mV
eps: Lowest multiplier = 4
---
arch/i386/kernel/cpu/cpufreq/Kconfig +0 -0
@@ -213,6 +213,12 @@ config X86_LONGHAUL
If in doubt, say N.
+config X86_E_POWERSAVER
+ tristate "VIA C7 Enhanced PowerSaver"
+ select CPU_FREQ_TABLE
+ help
+ If in doubt, say N.
+
comment "shared options"
config X86_ACPI_CPUFREQ_PROC_INTF
arch/i386/kernel/cpu/cpufreq/Makefile +0 -0
@@ -2,6 +2,7 @@ obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
+obj-$(CONFIG_X86_E_POWERSAVER) += enhanced_powersaver.o
obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
obj-$(CONFIG_X86_LONGRUN) += longrun.o diff --git a/arch/i386/kernel/cpu/cpufreq/enhanced_powersaver.c b/arch/i386/kernel/cpu/cpufreq/enhanced_powersaver.c
new file mode 100644
index 0000000..4b6dc33
arch/i386/kernel/cpu/cpufreq/enhanced_powersaver.c new file +381 -0
381 lines not on this page · raw message
----------------------------------------------------------------------
Nieograniczona pojemnosc skrzynki >>> http://link.interia.pl/f19e6