xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Jacob Shin <jacob.shin@amd.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH 2/3] xenoprof: Add support for AMD Family 15h processors
Date: Thu, 05 May 2011 08:41:37 +0100	[thread overview]
Message-ID: <4DC270D1020000780003FC66@vpn.id2.novell.com> (raw)

>>> On 05.05.11 at 03:09, Jacob Shin <jacob.shin@amd.com> 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).

Jan

>  
>  #define MSR_K8_FEATURE_MASK		0xc0011004
>  #define MSR_K8_EXT_FEATURE_MASK		0xc0011005
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com 
> http://lists.xensource.com/xen-devel 

             reply	other threads:[~2011-05-05  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05  7:41 Jan Beulich [this message]
2011-05-10 16:56 ` [PATCH 2/3] xenoprof: Add support for AMD Family 15h processors Jacob Shin
  -- strict thread matches above, loose matches on Subject: below --
2011-05-05  0:54 [PATCH 0/3] AMD Family 15h Performance Monitor Counters patches Jacob Shin
2011-05-05  1:09 ` [PATCH 2/3] xenoprof: Add support for AMD Family 15h processors Jacob Shin
2011-05-05  7:38   ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DC270D1020000780003FC66@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=jacob.shin@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).