aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vmx
diff options
context:
space:
mode:
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>2013-04-15 11:25:57 +0200
committerJan Beulich <jbeulich@suse.com>2013-04-15 11:25:57 +0200
commitc6037adc5c934b9ab97e532415302e50ece962d5 (patch)
tree2df79d90e9e52d365eed1a56c99f8f4186c8af64 /xen/arch/x86/hvm/vmx
parent5fb2decd2d3a821a7e9cff8c53220eaa45557d8f (diff)
downloadxen-c6037adc5c934b9ab97e532415302e50ece962d5.tar.gz
xen-c6037adc5c934b9ab97e532415302e50ece962d5.tar.bz2
xen-c6037adc5c934b9ab97e532415302e50ece962d5.zip
x86/VPMU: Add Haswell support
Initialize VPMU on Haswell CPUs. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Diffstat (limited to 'xen/arch/x86/hvm/vmx')
-rw-r--r--xen/arch/x86/hvm/vmx/vpmu_core2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c
index 2313e39f62..7c86a0b6b1 100644
--- a/xen/arch/x86/hvm/vmx/vpmu_core2.c
+++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c
@@ -893,6 +893,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
case 0x3a: /* IvyBridge */
case 0x3e: /* IvyBridge EP */
+ case 0x3c: /* Haswell */
ret = core2_vpmu_initialise(v, vpmu_flags);
if ( !ret )
vpmu->arch_vpmu_ops = &core2_vpmu_ops;