[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] hvm: vpmu: Enable HVM VPMU for AMD Family 12h and 14h processors
# HG changeset patch # User Jacob Shin <jacob.shin@xxxxxxx> # Date 1305055595 18000 # Node ID d1f55c40ca0e5d21541ee4e884b630ba6322905e # Parent 20443ead1d091f1b8e9cce367901a7ac0c6faef5 hvm: vpmu: Enable HVM VPMU for AMD Family 12h and 14h processors HVM VPMU support can be enabled for AMD Family 12h and 14h processors by taking the same code path as 10h. Signed-off-by: Jacob Shin <jacob.shin@xxxxxxx> diff -r 20443ead1d09 -r d1f55c40ca0e xen/arch/x86/hvm/svm/vpmu.c --- a/xen/arch/x86/hvm/svm/vpmu.c Tue May 10 14:04:10 2011 -0500 +++ b/xen/arch/x86/hvm/svm/vpmu.c Tue May 10 14:26:35 2011 -0500 @@ -317,6 +317,8 @@ static void amd_vpmu_initialise(struct v k7_counters_mirrored = 1; break; case 0x10: + case 0x12: + case 0x14: default: num_counters = F10H_NUM_COUNTERS; counters = AMD_F10H_COUNTERS; diff -r 20443ead1d09 -r d1f55c40ca0e xen/arch/x86/hvm/vpmu.c --- a/xen/arch/x86/hvm/vpmu.c Tue May 10 14:04:10 2011 -0500 +++ b/xen/arch/x86/hvm/vpmu.c Tue May 10 14:26:35 2011 -0500 @@ -101,6 +101,8 @@ void vpmu_initialise(struct vcpu *v) switch ( family ) { case 0x10: + case 0x12: + case 0x14: case 0x15: vpmu->arch_vpmu_ops = &amd_vpmu_ops; break; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |