Messages in this thread Patch in this message | | | Date | Sat, 29 Mar 2003 00:46:36 +0000 | From | davej@codemonk ... | Subject | fix up newer x86 cpuinfo flags. |
| |
According to Intel document 24161823.pdf[*] page 18, 'tm2' is misdefined. Its bit 7 not, bit 8. Also add the missing 'EST' (Enhanced Speedstep Technology) bit, and use the correct Intel terminology for the context ID bit.
[*] http://www.intel.com/design/xeon/applnots/241618.htm
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/kernel/cpu/proc.c linux-2.5/arch/i386/kernel/cpu/proc.c --- bk-linus/arch/i386/kernel/cpu/proc.c 2003-03-15 19:33:58.000000000 +0000 +++ linux-2.5/arch/i386/kernel/cpu/proc.c 2003-03-28 12:10:26.000000000 +0000 @@ -44,8 +44,8 @@ static int show_cpuinfo(struct seq_file NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* Intel-defined (#2) */ - "pni", NULL, NULL, "monitor", "ds_cpl", NULL, NULL, NULL, - "tm2", NULL, "cnxt_id", NULL, NULL, NULL, NULL, NULL, + "pni", NULL, NULL, "monitor", "ds_cpl", NULL, NULL, "tm2", + "est", NULL, "cid", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - 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/
| |