Skip to contentSkip to conversation

excessive MSR print out during boot.

DISCUSSION Dave Jones 2 participants 3 messages Mar 23, 2012 x86

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

During bootup, I now have 162 messages like this..

[    0.227346]  MSR0000001b: 00000000fee00900
[    0.227465]  MSR00000021: 0000000000000001
[    0.227584]  MSR0000002a: 00000000c1c81400

commit 21c3fcf3e39353d4f21d50e257cc74f3204b1988 looks suspect. It claims that it will only print these out if show_msr= is passed, but that doesn't seem to be the case.

Dave

#1 lore raw
Quoted 9 lines · Dave Jones

During bootup, I now have 162 messages like this..

[    0.227346]  MSR0000001b: 00000000fee00900
[    0.227465]  MSR00000021: 0000000000000001
[    0.227584]  MSR0000002a: 00000000c1c81400

commit 21c3fcf3e39353d4f21d50e257cc74f3204b1988 looks suspect. It claims that it will only print these out if show_msr= is passed, but that doesn't seem to be the case.

sorry abut that.

please check attached patch.

Thanks

Yinghai

arch/x86/kernel/cpu/common.c +1 -1
index ade9c79..b240323 100644
@@ -998,7 +998,7 @@ void __cpuinit print_cpu_info(struct cpuinfo_x86 *c)
 	else
 		printk(KERN_CONT "\n");
 
-	__print_cpu_msr();
+	print_cpu_msr(c);
 }
 
 void __cpuinit print_cpu_msr(struct cpuinfo_x86 *c)
author Tested-by
#2 lore raw
Quoted 24 lines · Yinghai Lu
Quoted 9 lines · Dave Jones

During bootup, I now have 162 messages like this..

[    0.227346]  MSR0000001b: 00000000fee00900
[    0.227465]  MSR00000021: 0000000000000001
[    0.227584]  MSR0000002a: 00000000c1c81400

commit 21c3fcf3e39353d4f21d50e257cc74f3204b1988 looks suspect. It claims that it will only print these out if show_msr= is passed, but that doesn't seem to be the case.

sorry abut that.

please check attached patch.

Thanks

Yinghai

arch/x86/kernel/cpu/common.c +0 -0
index ade9c79..b240323 100644

arch/x86/kernel/cpu/common.c void __cpuinit print_cpu_info(struct cpuinfo_x86 *c) · line 1004

Quoted 8 lines
arch/x86/kernel/cpu/common.c +1 -1
@@ -998,7 +998,7 @@ void __cpuinit print_cpu_info(struct cpuinfo_x86 *c)
 	else
 		printk(KERN_CONT "\n");
 
-	__print_cpu_msr();
+	print_cpu_msr(c);
 }
 
 void __cpuinit print_cpu_msr(struct cpuinfo_x86 *c)

Looks like that did the trick, thanks!

Dave