aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/vpmu.c
diff options
context:
space:
mode:
authorJacob Shin <jacob.shin@amd.com>2011-05-09 09:54:46 +0100
committerJacob Shin <jacob.shin@amd.com>2011-05-09 09:54:46 +0100
commit89fdb92f1d574615e1b452ca487c4f19777dde67 (patch)
tree27db46bec82e77559d2209ee82f5bd72219c96f5 /xen/arch/x86/hvm/vpmu.c
parent1b70aaa4f45c0c66f6d7a7dfa29556f26f666fb4 (diff)
downloadxen-89fdb92f1d574615e1b452ca487c4f19777dde67.tar.gz
xen-89fdb92f1d574615e1b452ca487c4f19777dde67.tar.bz2
xen-89fdb92f1d574615e1b452ca487c4f19777dde67.zip
hvm: vpmu: Add support for AMD Family 15h processors
AMD Family 15h CPU mirrors legacy K7 performance monitor counters to a new location, and adds 2 new counters. This patch updates HVM VPMU to take advantage of the new counters. Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Diffstat (limited to 'xen/arch/x86/hvm/vpmu.c')
-rw-r--r--xen/arch/x86/hvm/vpmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/vpmu.c b/xen/arch/x86/hvm/vpmu.c
index 657d2ff3b2..7e03525b2f 100644
--- a/xen/arch/x86/hvm/vpmu.c
+++ b/xen/arch/x86/hvm/vpmu.c
@@ -101,6 +101,7 @@ void vpmu_initialise(struct vcpu *v)
switch ( family )
{
case 0x10:
+ case 0x15:
vpmu->arch_vpmu_ops = &amd_vpmu_ops;
break;
default: