diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-08-27 11:15:15 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-08-27 11:15:15 +0200 |
commit | 3e787021fb2420851c7bdc3911ea53c728ba5ac0 (patch) | |
tree | f837b5358dfe8867a796ec088e5b9ad7f9fe5d6e /xen/arch/x86/hvm | |
parent | 784ce3fd05476ffe46bf54579f3927c777eb2c3b (diff) | |
download | xen-3e787021fb2420851c7bdc3911ea53c728ba5ac0.tar.gz xen-3e787021fb2420851c7bdc3911ea53c728ba5ac0.tar.bz2 xen-3e787021fb2420851c7bdc3911ea53c728ba5ac0.zip |
x86/Intel: add support for Haswell CPU models
... according to their most recent public documentation.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm')
-rw-r--r-- | xen/arch/x86/hvm/vmx/vmx.c | 2 | ||||
-rw-r--r-- | xen/arch/x86/hvm/vmx/vpmu_core2.c | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 011a8179d9..782f8de524 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -1815,7 +1815,7 @@ static const struct lbr_info *last_branch_msr_get(void) /* Ivy Bridge */ case 58: case 62: /* Haswell */ - case 60: case 69: + case 60: case 63: case 69: case 70: return nh_lbr; break; /* Atom */ diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c index 41a326bc11..8c556c7768 100644 --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c @@ -909,7 +909,12 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags) case 0x3a: /* IvyBridge */ case 0x3e: /* IvyBridge EP */ - case 0x3c: /* Haswell */ + + /* Haswell: */ + case 0x3c: + case 0x3f: + case 0x45: + case 0x46: ret = core2_vpmu_initialise(v, vpmu_flags); if ( !ret ) vpmu->arch_vpmu_ops = &core2_vpmu_ops; |