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-devel

Re: [Xen-devel] [PATCH 3/3] hvm: vpmu: Add support for AMD Family 15h p

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/3] hvm: vpmu: Add support for AMD Family 15h processors
From: Jacob Shin <jacob.shin@xxxxxxx>
Date: Tue, 10 May 2011 12:00:08 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 10 May 2011 10:02:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DC27133020000780003FC77@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4DC1F53B.4050201@xxxxxxx> <4DC1F8BE.3060707@xxxxxxx> <4DC27133020000780003FC77@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
On 05/05/2011 02:43 AM, Jan Beulich wrote:
On 05.05.11 at 03:09, Jacob Shin<jacob.shin@xxxxxxx>  wrote:
--- a/xen/arch/x86/hvm/vpmu.c   Wed May 04 10:56:36 2011 -0500
+++ b/xen/arch/x86/hvm/vpmu.c   Wed May 04 19:17:59 2011 -0500
@@ -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:

How about 0x11, 0x12, and 0x14?


Family 11h does not have guest only event monitoring .. but yes, we can enable 12h and 14h in the same path as the 10h. I'll send out a revised patchset later this afternoon.

Thanks!


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel