2003-09-12 20:19:11

by Jan De Luyck

[permalink] [raw]
Subject: [2.4.23-pre3] Cache size for Centrino CPU incorrect

Hello List,

I just noticed this:

devilkin@precious:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 9
model name : Intel(R) Pentium(R) M processor 1600MHz
stepping : 5
cpu MHz : 599.511
cache size : 0 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est
bogomips : 1196.85

Somehow, the cache size doesn't seem to be correct. Spec info tells me that this cpu
has indeed a 1024kb cache.

Any patches to test?

Thankx

Jan


2003-09-12 22:02:12

by Nakajima, Jun

[permalink] [raw]
Subject: RE: [2.4.23-pre3] Cache size for Centrino CPU incorrect

This is a bit old, but try.

Thanks,
Jun
------
--- linux-2.4.21/arch/i386/kernel/setup.c 2003-06-13
07:51:29.000000000 -0700
+++ new/arch/i386/kernel/setup.c 2003-07-08 17:21:48.000000000
-0700
@@ -2246,6 +2249,8 @@
{ 0x83, LVL_2, 512 },
{ 0x84, LVL_2, 1024 },
{ 0x85, LVL_2, 2048 },
+ { 0x86, LVL_2, 512 },
+ { 0x87, LVL_2, 1024 },
{ 0x00, 0, 0}
};

> -----Original Message-----
> From: Jan De Luyck [mailto:[email protected]]
> Sent: Friday, September 12, 2003 1:18 PM
> To: [email protected]
> Subject: [2.4.23-pre3] Cache size for Centrino CPU incorrect
>
> Hello List,
>
> I just noticed this:
>
> devilkin@precious:~$ cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 9
> model name : Intel(R) Pentium(R) M processor 1600MHz
> stepping : 5
> cpu MHz : 599.511
> cache size : 0 KB
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 2
> wp : yes
> flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov
pat
> clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est
> bogomips : 1196.85
>
> Somehow, the cache size doesn't seem to be correct. Spec info tells me
> that this cpu
> has indeed a 1024kb cache.
>
> Any patches to test?
>
> Thankx
>
> Jan
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2003-09-30 13:44:27

by Jan De Luyck

[permalink] [raw]
Subject: Re: [2.4.23-pre3] Cache size for Centrino CPU incorrect

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 13 September 2003 00:02, Nakajima, Jun wrote:
> This is a bit old, but try.
>
> Thanks,
> Jun
> ------
> --- linux-2.4.21/arch/i386/kernel/setup.c 2003-06-13
> 07:51:29.000000000 -0700
> +++ new/arch/i386/kernel/setup.c 2003-07-08 17:21:48.000000000
> -0700
> @@ -2246,6 +2249,8 @@
> { 0x83, LVL_2, 512 },
> { 0x84, LVL_2, 1024 },
> { 0x85, LVL_2, 2048 },
> + { 0x86, LVL_2, 512 },
> + { 0x87, LVL_2, 1024 },
> { 0x00, 0, 0}
> };
>

This works like a charm. Thanks. Maybe for inclusion in 2.4.23-pre6?

Jan


> > -----Original Message-----
> > From: Jan De Luyck [mailto:[email protected]]
> > Sent: Friday, September 12, 2003 1:18 PM
> > To: [email protected]
> > Subject: [2.4.23-pre3] Cache size for Centrino CPU incorrect
> >
> > Hello List,
> >
> > I just noticed this:
> >
> > devilkin@precious:~$ cat /proc/cpuinfo
> > processor : 0
> > vendor_id : GenuineIntel
> > cpu family : 6
> > model : 9
> > model name : Intel(R) Pentium(R) M processor 1600MHz
> > stepping : 5
> > cpu MHz : 599.511
> > cache size : 0 KB
> > fdiv_bug : no
> > hlt_bug : no
> > f00f_bug : no
> > coma_bug : no
> > fpu : yes
> > fpu_exception : yes
> > cpuid level : 2
> > wp : yes
> > flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov
>
> pat
>
> > clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est
> > bogomips : 1196.85
> >
> > Somehow, the cache size doesn't seem to be correct. Spec info tells me
> > that this cpu
> > has indeed a 1024kb cache.
> >
> > Any patches to test?
> >
> > Thankx
> >
> > Jan
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe
>
> linux-kernel" in
>
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/eXW2UQQOfidJUwQRAvYsAJ4sz4DslwL20NTjKR6EUCQ+wBp0xQCeJr3Z
fKU5+c3OpZB2y794BbRF+rs=
=gfTN
-----END PGP SIGNATURE-----

2003-09-30 14:01:27

by Dave Jones

[permalink] [raw]
Subject: Re: [2.4.23-pre3] Cache size for Centrino CPU incorrect

On Tue, Sep 30, 2003 at 02:23:15PM +0200, Jan De Luyck wrote:

> > --- linux-2.4.21/arch/i386/kernel/setup.c 2003-06-13
> > 07:51:29.000000000 -0700
> > +++ new/arch/i386/kernel/setup.c 2003-07-08 17:21:48.000000000
> > -0700
> > @@ -2246,6 +2249,8 @@
> > { 0x83, LVL_2, 512 },
> > { 0x84, LVL_2, 1024 },
> > { 0x85, LVL_2, 2048 },
> > + { 0x86, LVL_2, 512 },
> > + { 0x87, LVL_2, 1024 },
> > { 0x00, 0, 0}
> > };
> >
> This works like a charm. Thanks. Maybe for inclusion in 2.4.23-pre6?

If someone cares enough. I got tired of pushing that patch since 2.4.21.

Dave

--
Dave Jones http://www.codemonkey.org.uk