|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] hvm: vpmu: Enable HVM VPMU for AMD Family
# HG changeset patch
# User Jacob Shin <jacob.shin@xxxxxxx>
# Date 1305188046 -3600
# Node ID 23e33ea79cac0303c729d4e82905054cded16348
# Parent fabdd682420c0c7b5e81f07f2f54211ebc11babe
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 fabdd682420c -r 23e33ea79cac xen/arch/x86/hvm/svm/vpmu.c
--- a/xen/arch/x86/hvm/svm/vpmu.c Thu May 12 09:13:18 2011 +0100
+++ b/xen/arch/x86/hvm/svm/vpmu.c Thu May 12 09:14:06 2011 +0100
@@ -317,6 +317,8 @@
k7_counters_mirrored = 1;
break;
case 0x10:
+ case 0x12:
+ case 0x14:
default:
num_counters = F10H_NUM_COUNTERS;
counters = AMD_F10H_COUNTERS;
diff -r fabdd682420c -r 23e33ea79cac xen/arch/x86/hvm/vpmu.c
--- a/xen/arch/x86/hvm/vpmu.c Thu May 12 09:13:18 2011 +0100
+++ b/xen/arch/x86/hvm/vpmu.c Thu May 12 09:14:06 2011 +0100
@@ -101,6 +101,8 @@
switch ( family )
{
case 0x10:
+ case 0x12:
+ case 0x14:
case 0x15:
vpmu->arch_vpmu_ops = &amd_vpmu_ops;
break;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] hvm: vpmu: Enable HVM VPMU for AMD Family 12h and 14h processors,
Xen patchbot-unstable <=
|
|
|
|
|