Re: excessive MSR print out during boot.
From: Dave Jones
Date: Thu Mar 22 2012 - 23:53:17 EST
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@xxxxxxxxxx> 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@xxxxxxxxxx>
Dave
--
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/