vpmu: Add processors Westmere E7-8837 and SandyBridge i5-2500 to the vpmu list

Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
This commit is contained in:
Dietmar Hahn committed 2011-08-31 15:17:45 +01:00
1 parent 9da0c5b639
commit 2f4c78e40f
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -58,7 +58,8 @@ static void check_pmc_quirk(void)
is_pmc_quirk = 0;
if ( family == 6 )
{
if ( cpu_model == 46 || cpu_model == 26 )
if ( cpu_model == 47 || cpu_model == 46 || cpu_model == 42 ||
cpu_model == 26 )
is_pmc_quirk = 1;
}
}
+2
View File
@@ -119,7 +119,9 @@ void vpmu_initialise(struct vcpu *v)
case 23:
case 26:
case 29:
case 42:
case 46:
case 47:
vpmu->arch_vpmu_ops = &core2_vpmu_ops;
break;
}
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.