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 2/3] xenoprof: Add support for AMD Family 15h pr

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2/3] xenoprof: Add support for AMD Family 15h processors
From: Jacob Shin <jacob.shin@xxxxxxx>
Date: Tue, 10 May 2011 11:56:43 -0500
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 10 May 2011 09:58:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DC270D1020000780003FC66@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: <4DC270D1020000780003FC66@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:41 AM, Jan Beulich wrote:
On 05.05.11 at 03:09, Jacob Shin<jacob.shin@xxxxxxx>  wrote:
--- a/xen/include/asm-x86/msr-index.h   Tue May 03 17:26:33 2011 -0500
+++ b/xen/include/asm-x86/msr-index.h   Wed May 04 10:56:36 2011 -0500
@@ -223,6 +223,19 @@
  #define MSR_K8_ENABLE_C1E             0xc0010055
  #define MSR_K8_VM_CR                  0xc0010114
  #define MSR_K8_VM_HSAVE_PA            0xc0010117
+
+#define MSR_FAM15H_EVNTSEL0            0xc0010200
+#define MSR_FAM15H_PERFCTR0            0xc0010201
+#define MSR_FAM15H_EVNTSEL1            0xc0010202
+#define MSR_FAM15H_PERFCTR1            0xc0010203
+#define MSR_FAM15H_EVNTSEL2            0xc0010204
+#define MSR_FAM15H_PERFCTR2            0xc0010205
+#define MSR_FAM15H_EVNTSEL3            0xc0010206
+#define MSR_FAM15H_PERFCTR3            0xc0010207
+#define MSR_FAM15H_EVNTSEL4            0xc0010208
+#define MSR_FAM15H_PERFCTR4            0xc0010209
+#define MSR_FAM15H_EVNTSEL5            0xc001020a
+#define MSR_FAM15H_PERFCTR5            0xc001020b

Oh, and all of these would better have AMD in their name, too
(other than K8, which really can be considered a product name,
Fam15 is too generic imo, as any vendor could have such at
some point).


Sounds good, I'll have a revised patchset with the changes later this afternoon.

Thanks!


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

<Prev in Thread] Current Thread [Next in Thread>