Skip to contentSkip to conversation

vpmu_core2: support newer processors

PATCH New Dietmar Hahn 1 participant 1 message Sep 21, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vpmu_core2: support newer processors

This patch adds a little bit code to get fully virtualized performance counter with newer processors (which I'am able to test!)
The most stuff is to check for reserved bits in the control and counter register.

Thanks.
Dietmar

xen/arch/x86/hvm/vmx/vpmu.c +2 -0
diff -r d7b2984c934e -r 6a62b226d81b xen/arch/x86/hvm/vmx/vpmu.c
@@ -88,6 +88,8 @@
         {
         case 15:
         case 23:
+        case 26:
+        case 29:
             vpmu->arch_vpmu_ops = &core2_vpmu_ops;
             break;
         }
xen/arch/x86/hvm/vmx/vpmu_core2.c +46 -3

73 lines not on this page · raw message

Signature · 1 line
Company details: http://ts.fujitsu.com/imprint.html