|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/Intel: quiesce revised CPUID level message
# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1323683246 -3600
# Node ID f1ab2c2138d8a12a3407dd10a4db704382087d65
# Parent 1c58bb664d8d55e475d179cb5f81693991859fc8
x86/Intel: quiesce revised CPUID level message
Print this only once, for the boot CPU, unless "cpuinfo" was specified.
I found this particularly annoying on a machine which also didn't have
it MTRRs consistently set up across cores, resulting in the printing of
those messages being awfully slow (and with a second per-CPU message
added for debugging purposes this even lead to timeouts during AP
bringup).
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
diff -r 1c58bb664d8d -r f1ab2c2138d8 xen/arch/x86/cpu/intel.c
--- a/xen/arch/x86/cpu/intel.c Thu Dec 08 17:15:16 2011 +0000
+++ b/xen/arch/x86/cpu/intel.c Mon Dec 12 10:47:26 2011 +0100
@@ -139,7 +139,9 @@
misc_enable &= ~MSR_IA32_MISC_ENABLE_LIMIT_CPUID;
wrmsrl(MSR_IA32_MISC_ENABLE, misc_enable);
c->cpuid_level = cpuid_eax(0);
- printk("revised cpuid_level = %d\n", c->cpuid_level);
+ if (opt_cpu_info || c == &boot_cpu_data)
+ printk(KERN_INFO "revised cpuid level: %d\n",
+ c->cpuid_level);
}
}
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |