Re: [PATCH] add Intel cache-detection descriptors to the table

From: Dave Jones (davej@codemonkey.org.uk)
Date: Fri Nov 01 2002 - 14:26:18 EST


On Tue, Oct 29, 2002 at 09:13:55AM +0900, Akihiro Matsushima wrote:
> This patch adds new discriptors to IA-32 cache-detection table
> and fixes a failure in L2 cache detection on 2.4.20-pre series.
>
> Thanks,
> Akihiro
>
> --- arch/i386/kernel/setup.c.orig Sat Oct 19 10:30:52 2002
> +++ arch/i386/kernel/setup.c Sat Oct 19 10:40:16 2002
> @@ -2202,6 +2202,8 @@
> { 0x23, LVL_3, 1024 },
> { 0x25, LVL_3, 2048 },
> { 0x29, LVL_3, 4096 },
> + { 0x39, LVL_2, 128 },
> + { 0x3C, LVL_2, 256 },
> { 0x41, LVL_2, 128 },
> { 0x42, LVL_2, 256 },
> { 0x43, LVL_2, 512 },
> @@ -2214,7 +2216,9 @@
> { 0x7A, LVL_2, 256 },
> { 0x7B, LVL_2, 512 },
> { 0x7C, LVL_2, 1024 },
> + { 0x7E, LVL_2, 256 },
> { 0x82, LVL_2, 256 },
> + { 0x83, LVL_2, 512 },
> { 0x84, LVL_2, 1024 },
> { 0x85, LVL_2, 2048 },
> { 0x00, 0, 0}

I sent a more complete fix to Marcelo some time ago.
It's queued for .21 aparently.

                Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:21 EST