From: Radim Krcmar <rkrcmar@redhat.com>
To: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
Cc: kvm@vger.kernel.org, x86@kernel.org,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H . Peter Anvin" <hpa@zytor.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Len Brown <len.brown@intel.com>, Borislav Petkov <bp@suse.de>,
Kyle Huey <me@kylehuey.com>,
Tom Lendacky <thomas.lendacky@amd.com>
Subject: Re: [PATCH v5 1/3] x86/msr: Add AMD Core Perf Extension MSRs
Date: Tue, 6 Mar 2018 22:03:38 +0100 [thread overview]
Message-ID: <20180306210338.GD12128@flask> (raw)
In-Reply-To: <7cf7bd5fa6d24cd46a9ea50024b0010bf3d01088.1517850303.git.Janakarajan.Natarajan@amd.com>
2018-02-05 13:24-0600, Janakarajan Natarajan:
> Add the EventSelect and Counter MSRs for AMD Core Perf Extension.
>
> Signed-off-by: Janakarajan Natarajan <Janakarajan.Natarajan@amd.com>
> ---
> arch/x86/include/asm/msr-index.h | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
> index e7b983a..2885363 100644
> --- a/arch/x86/include/asm/msr-index.h
> +++ b/arch/x86/include/asm/msr-index.h
> @@ -341,7 +341,21 @@
>
> /* Fam 15h MSRs */
> #define MSR_F15H_PERF_CTL 0xc0010200
> +#define MSR_F15H_PERF_CTL0 MSR_F15H_PERF_CTL
> +#define MSR_F15H_PERF_CTL1 (MSR_F15H_PERF_CTL + 2)
> +#define MSR_F15H_PERF_CTL2 (MSR_F15H_PERF_CTL + 4)
> +#define MSR_F15H_PERF_CTL3 (MSR_F15H_PERF_CTL + 6)
> +#define MSR_F15H_PERF_CTL4 (MSR_F15H_PERF_CTL + 8)
> +#define MSR_F15H_PERF_CTL5 (MSR_F15H_PERF_CTL + 10)
> +
> #define MSR_F15H_PERF_CTR 0xc0010201
> +#define MSR_F15H_PERF_CTR0 MSR_F15H_PERF_CTR
> +#define MSR_F15H_PERF_CTR1 (MSR_F15H_PERF_CTR + 2)
> +#define MSR_F15H_PERF_CTR2 (MSR_F15H_PERF_CTR + 4)
> +#define MSR_F15H_PERF_CTR3 (MSR_F15H_PERF_CTR + 6)
> +#define MSR_F15H_PERF_CTR4 (MSR_F15H_PERF_CTR + 8)
> +#define MSR_F15H_PERF_CTR5 (MSR_F15H_PERF_CTR + 10)
> +
x86 maintainers,
are you ok with this going through the kvm tree?
Thanks.
> #define MSR_F15H_NB_PERF_CTL 0xc0010240
> #define MSR_F15H_NB_PERF_CTR 0xc0010241
> #define MSR_F15H_PTSC 0xc0010280
> --
> 2.7.4
>
next prev parent reply other threads:[~2018-03-06 21:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-05 19:24 [PATCH v5 0/3] Support Perf Extension on AMD KVM guests Janakarajan Natarajan
2018-02-05 19:24 ` [PATCH v5 1/3] x86/msr: Add AMD Core Perf Extension MSRs Janakarajan Natarajan
2018-03-06 21:03 ` Radim Krcmar [this message]
2018-03-16 14:50 ` Paolo Bonzini
2018-03-16 19:22 ` Thomas Gleixner
2018-02-05 19:24 ` [PATCH v5 2/3] x86/kvm: Add support for AMD Core Perf Extension in guest Janakarajan Natarajan
2018-02-05 19:24 ` [PATCH v5 3/3] x86/kvm: Expose AMD Core Perf Extension flag to guests Janakarajan Natarajan
2018-02-16 19:26 ` [PATCH v5 0/3] Support Perf Extension on AMD KVM guests Natarajan, Janakarajan
2018-03-06 21:02 ` Radim Krcmar
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=20180306210338.GD12128@flask \
--to=rkrcmar@redhat.com \
--cc=Janakarajan.Natarajan@amd.com \
--cc=bp@suse.de \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=me@kylehuey.com \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=tglx@linutronix.de \
--cc=thomas.lendacky@amd.com \
--cc=x86@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.