[PATCH] [6/11] i386: Tune AMD Fam10h/11h like K8

From: Andi Kleen
Date: Fri Jul 20 2007 - 11:38:55 EST



This mainly changes the nops for alternative, so not very revolutionary.

Signed-off-by: Andi Kleen <ak@xxxxxxx>

Index: linux/arch/i386/kernel/cpu/amd.c
===================================================================
--- linux.orig/arch/i386/kernel/cpu/amd.c
+++ linux/arch/i386/kernel/cpu/amd.c
@@ -230,6 +230,9 @@ static void __cpuinit init_amd(struct cp
}

switch (c->x86) {
+ /* Use K8 tuning for Fam10h and Fam11h */
+ case 0x10:
+ case 0x11:
case 15:
set_bit(X86_FEATURE_K8, c->x86_capability);
break;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/