Skip to contentSkip to conversation

Add new cache descriptor.

X86 Applied Dave Jones 2 participants 2 messages May 5, 2008 – May 6, 2008 x86

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

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.

arch/x86/kernel/cpu/intel_cacheinfo.c +1 -0
index 26d615d..2c8afaf 100644
@@ -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 */
Signature · 1 line
http://www.codemonkey.org.uk
Applied
#1 lore raw

arch/x86/kernel/cpu/intel_cacheinfo.c static struct _cache_table cache_table[] __cpuinitdata = · line 65

Quoted 7 lines · Dave Jones

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.

arch/x86/kernel/cpu/intel_cacheinfo.c +1 -0
 	{ 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