public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* excessive MSR print out during boot.
@ 2012-03-23  2:00 Dave Jones
  2012-03-23  2:16 ` Yinghai Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2012-03-23  2:00 UTC (permalink / raw)
  To: Yinghai Lu; +Cc: mingo, Linux Kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: excessive MSR print out during boot.
  2012-03-23  2:00 excessive MSR print out during boot Dave Jones
@ 2012-03-23  2:16 ` Yinghai Lu
  2012-03-23  3:52   ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Yinghai Lu @ 2012-03-23  2:16 UTC (permalink / raw)
  To: Dave Jones, Yinghai Lu, mingo, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

On Thu, Mar 22, 2012 at 7:00 PM, Dave Jones <davej@redhat.com> wrote:
> 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

[-- Attachment #2: print_msr_fix_22.patch --]
[-- Type: text/x-patch, Size: 381 bytes --]

diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index ade9c79..b240323 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -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)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: excessive MSR print out during boot.
  2012-03-23  2:16 ` Yinghai Lu
@ 2012-03-23  3:52   ` Dave Jones
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Jones @ 2012-03-23  3:52 UTC (permalink / raw)
  To: Yinghai Lu; +Cc: mingo, Linux Kernel

On Thu, Mar 22, 2012 at 07:16:24PM -0700, Yinghai Lu wrote:
 > On Thu, Mar 22, 2012 at 7:00 PM, Dave Jones <davej@redhat.com> wrote:
 > > 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

 > diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
 > index ade9c79..b240323 100644
 > --- a/arch/x86/kernel/cpu/common.c
 > +++ b/arch/x86/kernel/cpu/common.c
 > @@ -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!

Tested-by: Dave Jones <davej@redhat.com>

	Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-23  3:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23  2:00 excessive MSR print out during boot Dave Jones
2012-03-23  2:16 ` Yinghai Lu
2012-03-23  3:52   ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox