[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] x86/Intel: don't probe CPUID faulting on family 0xf CPUs



commit f214ac959a471176e6ea195fb1952429f50ad7de
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Mon Nov 11 11:00:21 2013 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Nov 11 11:00:21 2013 +0100

    x86/Intel: don't probe CPUID faulting on family 0xf CPUs
    
    These are known to not support the feature, so we can save ourselves
    from emitting the resulting #GP fault recovery related message (which
    might worry people looking at the logs).
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Liu Jinsong <jinsong.liu@xxxxxxxxx>
    Acked-by: Keir Fraser <keir@xxxxxxx>
---
 xen/arch/x86/cpu/intel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/arch/x86/cpu/intel.c b/xen/arch/x86/cpu/intel.c
index e855211..27fe762 100644
--- a/xen/arch/x86/cpu/intel.c
+++ b/xen/arch/x86/cpu/intel.c
@@ -204,7 +204,7 @@ static void __devinit init_intel(struct cpuinfo_x86 *c)
                detect_ht(c);
        }
 
-       if (smp_processor_id() == 0) {
+       if (c == &boot_cpu_data && c->x86 == 6) {
                if (probe_intel_cpuid_faulting())
                        set_bit(X86_FEATURE_CPUID_FAULTING, c->x86_capability);
        } else if (boot_cpu_has(X86_FEATURE_CPUID_FAULTING)) {
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.