diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-03-08 16:18:15 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-03-08 16:18:15 +0100 |
commit | 97d8201de7e437e41f37539a657ff8ac1b77599a (patch) | |
tree | 3c023611e16de5c790162ecd50b09b5ddd78d00f /xen/arch/x86/hvm/vmx | |
parent | fb3b1ce50d04e4f6abe55988ef0c2e654cbb79d8 (diff) | |
download | xen-97d8201de7e437e41f37539a657ff8ac1b77599a.tar.gz xen-97d8201de7e437e41f37539a657ff8ac1b77599a.tar.bz2 xen-97d8201de7e437e41f37539a657ff8ac1b77599a.zip |
x86/vPMU: provide comments for which Intel model is what
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/arch/x86/hvm/vmx')
-rw-r--r-- | xen/arch/x86/hvm/vmx/vpmu_core2.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c index 2cef2d6b0d..4d33231dfc 100644 --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c @@ -738,16 +738,16 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags) { switch ( cpu_model ) { - case 15: - case 23: - case 26: - case 29: - case 42: - case 45: - case 46: - case 47: - case 58: - case 62: + case 15: /* original 65 nm celeron/pentium/core2/xeon, "Merom"/"Conroe" */ + case 23: /* 45 nm celeron/core2/xeon "Penryn"/"Wolfdale" */ + case 26: /* 45 nm nehalem, "Bloomfield" */ + case 29: /* six-core 45 nm xeon "Dunnington" */ + case 42: /* SandyBridge */ + case 45: /* SandyBridge, "Romley-EP" */ + case 46: /* 45 nm nehalem-ex, "Beckton" */ + case 47: /* 32 nm Xeon E7 */ + case 58: /* IvyBridge */ + case 62: /* IvyBridge EP */ ret = core2_vpmu_initialise(v, vpmu_flags); if ( !ret ) vpmu->arch_vpmu_ops = &core2_vpmu_ops; |