From: Galin Yordanov <galin-Dn6zUBO643CDvotElmWtJA@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Speedstep-centrino problems
Date: Thu, 10 Feb 2005 06:30:09 -0500 [thread overview]
Message-ID: <200502100630.10529.galin@platformis.com> (raw)
In-Reply-To: <0FEA36BB2ABDF44FAAFEB7A75367C07A0117D810-0IKPNnIBiwz73juT6mD8XA@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]
Hello,
I have Acer TM4500 with Centrino 1.6 (Dothan)and i had the same problem ..
then i found this patch (attached), cannot remember where i found it but it
works ;)
Regards,
Galin
On Thursday 10 February 2005 04:38 am, Simon Moore wrote:
> Hi,
>
> I'm trying to get acpi cpu throttling working for my Dell Inspiron 510m
> with a Pentium M Centrino 1.6 Ghz cpu.
>
> I have tried a number of possibilites but have not got anywhere. I have
> an open case over at the gentoo forums but we have not had success in
> resolving this problem.
>
> This is my last ditch attempt to try and find a solution to this
> problem. I think I have exhausted most possible avenues so I'm trying to
> get some kernel hacker on board and help me with this.
>
> I would very much appreciate it if someone could take a look at this
> thread and possbily come up with a suggestion of what might be causing
> this. (http://forums.gentoo.org/viewtopic.php?p=2076710) I have a lot of
> info in that thread that you should find useful but if there's any other
> info you require I'll post it tonight.
>
> For what it's worth I hope it intrigues some of you enough to help me
> out.
>
> Thanks all the same,
>
> Regards,
>
> Saimon
>
>
> --------------------------
> Saimon Moore
> Departamento TI
> CondisLine e-Commerce S.A.
>
> telf./fax: 93 565 3400 ext. 473 / 935752325
> http://www.condisline.com
> mailto://simon_moore-HnN13UdsTkzz1n+OaKNE4w@public.gmane.org
--
[In Linux We Trust]
Galin Yordanov
galin-Dn6zUBO643CDvotElmWtJA@public.gmane.org
[-- Attachment #2: 03-cpufreq-speedstep-dothan-3.patch --]
[-- Type: text/x-diff, Size: 3670 bytes --]
--- ./arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c.orig 2004-08-06 18:42:15.000000000 +0800
+++ ./arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c 2004-08-06 18:44:28.000000000 +0800
@@ -195,6 +195,82 @@
OP(1700, 1484),
{ .frequency = CPUFREQ_TABLE_END }
};
+
+#undef OP
+
+/* Dothan processor datasheet 30218903.pdf defines 4 voltages for each
+ frequency (VID#A through VID#D) - this macro allows us to define all
+ of these but we only use the VID#C voltages at compile time - this may
+ need some work if we want to select the voltage profile at runtime. */
+
+#define OP(mhz, mva, mvb, mvc, mvd) \
+ { \
+ .frequency = (mhz) * 1000, \
+ .index = (((mhz)/100) << 8) | ((mvc - 700) / 16) \
+ }
+
+/* Intel Pentium M processor 715 / 1.50GHz (Dothan) */
+static struct cpufreq_frequency_table dothan_1500[] =
+{
+ OP( 600, 988, 988, 988, 988),
+ OP( 800, 1068, 1068, 1068, 1052),
+ OP(1000, 1148, 1148, 1132, 1116),
+ OP(1200, 1228, 1212, 1212, 1180),
+ OP(1500, 1340, 1324, 1308, 1276),
+ { .frequency = CPUFREQ_TABLE_END }
+};
+
+/* Intel Pentium M processor 725 / 1.60GHz (Dothan) */
+static struct cpufreq_frequency_table dothan_1600[] =
+{
+ OP( 600, 988, 988, 988, 988),
+ OP( 800, 1068, 1068, 1052, 1052),
+ OP(1000, 1132, 1132, 1116, 1116),
+ OP(1200, 1212, 1196, 1180, 1164),
+ OP(1400, 1276, 1260, 1244, 1228),
+ OP(1600, 1340, 1324, 1308, 1276),
+ { .frequency = CPUFREQ_TABLE_END }
+};
+
+/* Intel Pentium M processor 735 / 1.70GHz (Dothan) */
+static struct cpufreq_frequency_table dothan_1700[] =
+{
+ OP( 600, 988, 988, 988, 988),
+ OP( 800, 1052, 1052, 1052, 1052),
+ OP(1000, 1116, 1116, 1116, 1100),
+ OP(1200, 1180, 1180, 1164, 1148),
+ OP(1400, 1244, 1244, 1228, 1212),
+ OP(1700, 1340, 1324, 1308, 1276),
+ { .frequency = CPUFREQ_TABLE_END }
+};
+
+/* Intel Pentium M processor 745 / 1.80GHz (Dothan) */
+static struct cpufreq_frequency_table dothan_1800[] =
+{
+ OP( 600, 988, 988, 988, 988),
+ OP( 800, 1052, 1052, 1052, 1036),
+ OP(1000, 1116, 1100, 1100, 1084),
+ OP(1200, 1164, 1164, 1148, 1132),
+ OP(1400, 1228, 1212, 1212, 1180),
+ OP(1600, 1292, 1276, 1260, 1228),
+ OP(1800, 1340, 1324, 1308, 1276),
+ { .frequency = CPUFREQ_TABLE_END }
+};
+
+/* Intel Pentium M processor 755 / 2.00GHz (Dothan) */
+static struct cpufreq_frequency_table dothan_2000[] =
+{
+ OP( 600, 988, 988, 988, 988),
+ OP( 800, 1052, 1036, 1036, 1036),
+ OP(1000, 1100, 1084, 1084, 1084),
+ OP(1200, 1148, 1132, 1132, 1116),
+ OP(1400, 1196, 1180, 1180, 1164),
+ OP(1600, 1244, 1228, 1228, 1196),
+ OP(1800, 1292, 1276, 1276, 1244),
+ OP(2000, 1340, 1324, 1308, 1276),
+ { .frequency = CPUFREQ_TABLE_END }
+};
+
#undef OP
#define _BANIAS(cpuid, max, name) \
@@ -205,6 +281,13 @@
}
#define BANIAS(max) _BANIAS(&cpu_ids[CPU_BANIAS], max, #max)
+#define DOTHAN(cpuid, max, name) \
+{ .cpu_id = cpuid, \
+ .model_name = "Intel(R) Pentium(R) M processor " name "GHz", \
+ .max_freq = (max)*1000, \
+ .op_points = dothan_##max, \
+}
+
/* CPU models, their operating frequency range, and freq/voltage
operating points */
static struct cpu_model models[] =
@@ -218,6 +301,11 @@
BANIAS(1500),
BANIAS(1600),
BANIAS(1700),
+ DOTHAN(&cpu_ids[CPU_DOTHAN_B0], 1500, "1.50"),
+ DOTHAN(&cpu_ids[CPU_DOTHAN_B0], 1600, "1.60"),
+ DOTHAN(&cpu_ids[CPU_DOTHAN_B0], 1700, "1.70"),
+ DOTHAN(&cpu_ids[CPU_DOTHAN_B0], 1800, "1.80"),
+ DOTHAN(&cpu_ids[CPU_DOTHAN_B0], 2000, "2.00"),
/* NULL model_name is a wildcard */
{ &cpu_ids[CPU_DOTHAN_A1], NULL, 0, NULL },
@@ -227,6 +315,7 @@
};
#undef _BANIAS
#undef BANIAS
+#undef DOTHAN
static int centrino_cpu_init_table(struct cpufreq_policy *policy)
{
next prev parent reply other threads:[~2005-02-10 11:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-10 9:38 Speedstep-centrino problems Simon Moore
[not found] ` <0FEA36BB2ABDF44FAAFEB7A75367C07A0117D810-0IKPNnIBiwz73juT6mD8XA@public.gmane.org>
2005-02-10 11:30 ` Galin Yordanov [this message]
[not found] ` <200502100630.10529.galin-Dn6zUBO643CDvotElmWtJA@public.gmane.org>
2005-02-10 12:06 ` Rich Townsend
[not found] ` <420B4E31.6020306-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-10 21:33 ` Johan Vromans
2005-02-10 19:28 ` Bruno Ducrot
-- strict thread matches above, loose matches on Subject: below --
2005-02-10 11:33 Simon Moore
2005-02-10 12:41 Simon Moore
[not found] ` <0FEA36BB2ABDF44FAAFEB7A75367C07A0117DCE4-0IKPNnIBiwz73juT6mD8XA@public.gmane.org>
2005-02-10 13:08 ` Rich Townsend
[not found] ` <420B5CB1.2090804-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-10 17:29 ` Dominik Brodowski
2005-02-10 13:19 Simon Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502100630.10529.galin@platformis.com \
--to=galin-dn6zubo643cdvotelmwtja@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox