--- /linux-2.6.21/arch/i386/kernel/cpu/amd.c 2007-04-26 04:08:32.000000000 -0400 +++ /linux/arch/i386/kernel/cpu/amd.c 2007-06-26 11:18:25.000000000 -0400 @@ -9,10 +9,12 @@ /* * B step AMD K6 before B 9730xxxx have hardware bugs that can cause * misexecution of code under Linux. Owners of such processors should - * contact AMD for precise details and a CPU swap. + * contact AMD for precise details and a CPU swap. More information can + * be found at erratum 2.6.2 of 21266.pdf. * * See http://www.multimania.com/poulot/k6bug.html - * http://www.amd.com/K6/k6docs/revgd.html + * http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_739_1102,00.html + * http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/21266.pdf * * The following test is erm.. interesting. AMD neglected to up * the chip setting when fixing the bug but they also tweaked some @@ -146,7 +148,7 @@ /* K6 with old style WHCR */ if (c->x86_model < 8 || (c->x86_model== 8 && c->x86_mask < 8)) { - /* We can only write allocate on the low 508Mb */ + /* We can only write allocate on the low 508MB */ if(mbytes>508) mbytes=508; @@ -158,7 +160,7 @@ wbinvd(); wrmsr(MSR_K6_WHCR, l, h); local_irq_restore(flags); - printk(KERN_INFO "Enabling old style K6 write allocation for %d Mb\n", + printk(KERN_INFO "Enabling old style K6 write allocation for %d MB\n", mbytes); } break; @@ -179,7 +181,7 @@ wbinvd(); wrmsr(MSR_K6_WHCR, l, h); local_irq_restore(flags); - printk(KERN_INFO "Enabling new style K6 write allocation for %d Mb\n", + printk(KERN_INFO "Enabling new style K6 write allocation for %d MB\n", mbytes); }