x86/Intel: add further support for Ivy Bridge CPU models

And some initial Haswell ones at once.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: "Nakajima, Jun" <jun.nakajima@intel.com>
This commit is contained in:
Jan Beulich committed 2012-10-02 12:14:00 +02:00
1 parent e3e4744617
commit 4efa12d402
3 files changed
+10 -3

No files matched your search

+6 -2
View File
@@ -128,11 +128,15 @@ static void do_get_hw_residencies(void *arg)
switch ( c->x86_model )
{
/* Ivy bridge */
case 0x3A:
/* Sandy bridge */
case 0x2A:
case 0x2D:
/* Ivy bridge */
case 0x3A:
case 0x3E:
/* Haswell */
case 0x3c:
case 0x45:
GET_PC2_RES(hw_res->pc2);
GET_CC7_RES(hw_res->cc7);
/* fall through */
+3 -1
View File
@@ -1746,7 +1746,9 @@ static const struct lbr_info *last_branch_msr_get(void)
/* Sandy Bridge */
case 42: case 45:
/* Ivy Bridge */
case 58:
case 58: case 62:
/* Haswell */
case 60: case 69:
return nh_lbr;
break;
/* Atom */
+1
View File
@@ -747,6 +747,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
case 46:
case 47:
case 58:
case 62:
ret = core2_vpmu_initialise(v, vpmu_flags);
if ( !ret )
vpmu->arch_vpmu_ops = &core2_vpmu_ops;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.