patch queue for .20
Yesterday Linus merged the backlog of cpufreq patches that I've sat on for a while, including the acpi-cpufreq reworking.
I intend to do at least one more merge before .20 depending on how many more small bits and pieces turn up (two patches already in cpufreq.git since yesterdays merge)
I had an accident with a mail queue recently, which meant I had lost some of the patches I had queued. I recovered most of them, but there's a possibility I've dropped some on the floor. If you've sent a patch in the last month or so and it isn't in Linus' current git tree, (2.6.19-git19) then please resend and I'll do what I can to get it in ASAP.
Thanks,
Dave
Signature · 1 line
http://www.codemonkey.org.uk
PATCH 1/1 cpufreq: set policy->curfreq on initialization
Check the correct variable and set policy->cur upon acpi-cpufreq initialization to allow the userspace governor to be used as default.
---
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c renamed from arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c~cpufreq-set-policy-curfreq-on-initialization +2 -2
@@ -699,14 +699,14 @@ static int acpi_cpufreq_cpu_init(structif (result) goto err_freqfree; -switch (data->cpu_feature) { +switch (perf->control_register.space_id) {case ACPI_ADR_SPACE_SYSTEM_IO :/* Current speed is unknown and not detectable by IO port */ policy->cur =acpi_cpufreq_guess_freq (data, policy->cpu);break ;case ACPI_ADR_SPACE_FIXED_HARDWARE : acpi_cpufreq_driver.get = get_cur_freq_on_cpu; -get_cur_freq_on_cpu (cpu); + policy->cur =get_cur_freq_on_cpu (cpu);break ;default :break ;
_
Re: [PATCH] cpufreq: set policy->curfreq on initialization
Quoted 6 lines · Mattia Dongili
Check the correct variable and set
policy->curupon acpi-cpufreq initialization to allow the userspace governor to be used as default.Signed-off-by Mattia Dongili <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Oh, and this is currently in .20-mm1, Andrew pushed this patch to you some days ago.
Signature · 2 lines
mattia :wq!