Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / arch / x86 / xen / enlighten.c
index b255312..4cfb125 100644 (file)
@@ -270,6 +270,12 @@ static void __init xen_init_cpuid_mask(void)
                  (1 << X86_FEATURE_MTRR) |  /* disable MTRR */
                  (1 << X86_FEATURE_ACC));   /* thermal monitoring */
 
+       /*
+        * Xen PV would need some work to support PCID: CR3 handling as well
+        * as xen_flush_tlb_others() would need updating.
+        */
+       cpuid_leaf1_ecx_mask &= ~(1 << (X86_FEATURE_PCID % 32));  /* disable PCID */
+
        if (!xen_initial_domain())
                cpuid_leaf1_edx_mask &=
                        ~((1 << X86_FEATURE_APIC) |  /* disable local APIC */