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

[Xen-changelog] [xen-unstable] vpmu: Add processors Westmere E7-8837 and SandyBridge i5-2500 to the vpmu list



# HG changeset patch
# User Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
# Date 1314800265 -3600
# Node ID 51983821efa4db4040ae1c5063a4404791597699
# Parent  bb9b810087337479d8de834d4f19fed4bc3e2dbc
vpmu: Add processors Westmere E7-8837 and SandyBridge i5-2500 to the vpmu list

Signed-off-by: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
---


diff -r bb9b81008733 -r 51983821efa4 xen/arch/x86/hvm/vmx/vpmu_core2.c
--- a/xen/arch/x86/hvm/vmx/vpmu_core2.c Wed Aug 31 15:16:14 2011 +0100
+++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c Wed Aug 31 15:17:45 2011 +0100
@@ -58,7 +58,8 @@
     is_pmc_quirk = 0;
     if ( family == 6 )
     {
-        if ( cpu_model == 46 || cpu_model == 26 )
+        if ( cpu_model == 47 || cpu_model == 46 || cpu_model == 42 ||
+             cpu_model == 26 )
             is_pmc_quirk = 1;
     }
 }
diff -r bb9b81008733 -r 51983821efa4 xen/arch/x86/hvm/vpmu.c
--- a/xen/arch/x86/hvm/vpmu.c   Wed Aug 31 15:16:14 2011 +0100
+++ b/xen/arch/x86/hvm/vpmu.c   Wed Aug 31 15:17:45 2011 +0100
@@ -119,7 +119,9 @@
             case 23:
             case 26:
             case 29:
+            case 42:
             case 46:
+            case 47:
                 vpmu->arch_vpmu_ops = &core2_vpmu_ops;
                 break;
             }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.