All of lore.kernel.org
 help / color / mirror / Atom feed
* Pentium D 915 support
@ 2006-07-30 13:12 Erik Slagter
  2006-07-30 15:33 ` Alexey Starikovskiy
  0 siblings, 1 reply; 13+ messages in thread
From: Erik Slagter @ 2006-07-30 13:12 UTC (permalink / raw)
  To: cpufreq


[-- Attachment #1.1: Type: text/plain, Size: 3526 bytes --]

Hi,

I just bought a new motherboard and cpu and carefully checked whether
both support EIST.

The motherboard is a ASUStek P5WDG2-WS, the cpu a Pentium D 915. This
seems to be the only (besides the 945) from the 9xx series that has
proper EIST support (new stepping), according to the intel
processorfinder.

I already learned that I need to use speedstep-centrino (odd...) but the
module doesn't load (not found message).

I guess this cpu is too new to have cpufreq support (I am running with
kernel 2.6.18-rc2, btw), so I had a peek in the source file, and found a
table with apparently cpuid values. The values of my D915 were not there
(as expected). So I added it and changed two other places, and it looks
(very superfluously) that this should be enough to make it work, at
least to make the module recognise the cpu.

I don't dare to test it though, I don't know if I can break stuff this
way (like really, permanently...).

Can you please have a look and give your comments?

cat /proc/cpuinfo:

> cpuinfo
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 6
> model name      :               Intel(R) Pentium(R) D CPU 2.80GHz
> stepping        : 4
> cpu MHz         : 2800.000
> cache size      : 2048 KB
> physical id     : 0
> siblings        : 2
> core id         : 0
> cpu cores       : 2
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 6
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
> bogomips        : 5623.94
> clflush size    : 64
> cache_alignment : 128
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
> 
> processor       : 1
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 6
> model name      :               Intel(R) Pentium(R) D CPU 2.80GHz
> stepping        : 4
> cpu MHz         : 2800.000
> cache size      : 2048 KB
> physical id     : 0
> siblings        : 2
> core id         : 1
> cpu cores       : 2
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 6
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
> bogomips        : 5620.20
> clflush size    : 64
> cache_alignment : 128
> address sizes   : 36 bits physical, 48 bits virtual
> power management:

This is what I did to speedstep-centrino.c:

--- speedstep-centrino.c        2006-07-30 15:02:25.000000000 +0200
+++ speedstep-centrino.c-ems    2006-07-30 15:01:04.000000000 +0200
@@ -50,6 +50,7 @@
        CPU_DOTHAN_B0,
        CPU_MP4HT_D0,
        CPU_MP4HT_E0,
+       CPU_PD900,
 };

 static const struct cpu_id cpu_ids[] = {
@@ -59,6 +60,7 @@
        [CPU_DOTHAN_B0] = { 6, 13, 6 },
        [CPU_MP4HT_D0]  = {15,  3, 4 },
        [CPU_MP4HT_E0]  = {15,  4, 1 },
+       [CPU_PD900]             = {15,  6, 4 },
 };
 #define N_IDS  ARRAY_SIZE(cpu_ids)

@@ -226,6 +228,7 @@
        { &cpu_ids[CPU_DOTHAN_B0], NULL, 0, NULL },
        { &cpu_ids[CPU_MP4HT_D0], NULL, 0, NULL },
        { &cpu_ids[CPU_MP4HT_E0], NULL, 0, NULL },
+       { &cpu_ids[CPU_PD900], NULL, 0, NULL },

        { NULL, }
 };

Thank you for your time.

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2771 bytes --]

[-- Attachment #2: Type: text/plain, Size: 147 bytes --]

_______________________________________________
Cpufreq mailing list
Cpufreq@lists.linux.org.uk
http://lists.linux.org.uk/mailman/listinfo/cpufreq

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Pentium D 915 support
@ 2006-08-03 15:57 Brown, Len
  2006-08-03 16:29 ` Erik Slagter
  0 siblings, 1 reply; 13+ messages in thread
From: Brown, Len @ 2006-08-03 15:57 UTC (permalink / raw)
  To: Alexey Starikovskiy, Erik Slagter; +Cc: cpufreq


>> BTW Is there intention to correct the output of
>> cat /proc/acpi/processor/CPU?/performance as well?

The way to correct this is to delete this file as soon as we can.

-Len

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-08-03 16:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-30 13:12 Pentium D 915 support Erik Slagter
2006-07-30 15:33 ` Alexey Starikovskiy
2006-07-30 15:58   ` Erik Slagter
2006-08-03 11:44     ` Thomas Renninger
2006-08-03 11:48       ` Erik Slagter
2006-08-03 14:56         ` Thomas Renninger
2006-08-03 14:55           ` Erik Slagter
2006-08-03 15:29           ` Alexey Starikovskiy
2006-08-03 15:33             ` Erik Slagter
2006-08-03 15:51               ` Alexey Starikovskiy
2006-08-03 16:37             ` Thomas Renninger
  -- strict thread matches above, loose matches on Subject: below --
2006-08-03 15:57 Brown, Len
2006-08-03 16:29 ` Erik Slagter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.