WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] hvm: vpmu: Enable HVM VPMU for AMD Family

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] hvm: vpmu: Enable HVM VPMU for AMD Family 12h and 14h processors
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 14 May 2011 07:15:55 +0100
Delivery-date: Fri, 13 May 2011 23:17:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=