public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [X86] Add new cache descriptor.
@ 2008-05-05 21:52 Dave Jones
  2008-05-06 12:37 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2008-05-05 21:52 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: tglx, Linux Kernel

The latest rev of Intel doc AP-485 details a new cache
descriptor that we don't yet support.
A 6MB 24-way assoc L2 cache.

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/arch/x86/kernel/cpu/intel_cacheinfo.c b/arch/x86/kernel/cpu/intel_cacheinfo.c
index 26d615d..2c8afaf 100644
--- a/arch/x86/kernel/cpu/intel_cacheinfo.c
+++ b/arch/x86/kernel/cpu/intel_cacheinfo.c
@@ -62,6 +62,7 @@ static struct _cache_table cache_table[] __cpuinitdata =
 	{ 0x4b, LVL_3,      8192 },	/* 16-way set assoc, 64 byte line size */
 	{ 0x4c, LVL_3,     12288 },	/* 12-way set assoc, 64 byte line size */
 	{ 0x4d, LVL_3,     16384 },	/* 16-way set assoc, 64 byte line size */
+	{ 0x4e, LVL_2,      6144 },	/* 24-way set assoc, 64 byte line size */
 	{ 0x60, LVL_1_DATA, 16 },	/* 8-way set assoc, sectored cache, 64 byte line size */
 	{ 0x66, LVL_1_DATA, 8 },	/* 4-way set assoc, sectored cache, 64 byte line size */
 	{ 0x67, LVL_1_DATA, 16 },	/* 4-way set assoc, sectored cache, 64 byte line size */

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

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

* Re: [X86] Add new cache descriptor.
  2008-05-05 21:52 [X86] Add new cache descriptor Dave Jones
@ 2008-05-06 12:37 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-05-06 12:37 UTC (permalink / raw)
  To: Dave Jones, tglx, Linux Kernel, Arjan van de Ven, H. Peter Anvin


* Dave Jones <davej@codemonkey.org.uk> wrote:

> The latest rev of Intel doc AP-485 details a new cache descriptor that 
> we don't yet support. A 6MB 24-way assoc L2 cache.
> 
> Signed-off-by: Dave Jones <davej@redhat.com>

>  	{ 0x4d, LVL_3,     16384 },	/* 16-way set assoc, 64 byte line size */
> +	{ 0x4e, LVL_2,      6144 },	/* 24-way set assoc, 64 byte line size */

applied, thanks Dave.

	Ingo

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

end of thread, other threads:[~2008-05-06 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-05 21:52 [X86] Add new cache descriptor Dave Jones
2008-05-06 12:37 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox