From: Joerg Roedel <joro@8bytes.org>
To: Wei Huang <wei@redhat.com>
Cc: kvm@vger.kernel.org, x86@kernel.org, pbonzini@redhat.com,
gleb@kernel.org, rkrcmar@redhat.com
Subject: Re: [PATCH V5 2/4] KVM: x86/vPMU: Create vPMU interface for VMX and SVM
Date: Tue, 16 Jun 2015 17:40:32 +0200 [thread overview]
Message-ID: <20150616154031.GP20384@8bytes.org> (raw)
In-Reply-To: <1434087296-27141-3-git-send-email-wei@redhat.com>
On Fri, Jun 12, 2015 at 01:34:54AM -0400, Wei Huang wrote:
> This patch splits existing vPMU code into a common vPMU interface (pmc.c)
> and Intel specific vPMU code (pmu_intel.c) using the following steps:
>
> - Part of arechitectural vPMU code is extracted and moved to pmu_intel.c
> file. They are hooked up with the newly-defined intel_pmu_ops, which will
> be called from pmu interface;
> - Create a dummy pmu_amd.c file for AMD SVM with empty functions;
>
> All architectural vPMU functions are now called via PMU function dispatcher.
> This function dispatcher is defined in kvm_x86_ops->pmu_ops, which is
> initialized by sub-arch. Also note that Intel and AMD modules are now
> generated by combinig their corresponding arch files (vmx.c/svm.c) and pmu
> files (pmu_intel.c/pmu_amd.c).
>
> Tested-by: Radim Krčmář <rkrcmar@redhat.com>
> Signed-off-by: Wei Huang <wei@redhat.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
next prev parent reply other threads:[~2015-06-16 15:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 5:34 [PATCH V5 0/4] Consolidated KVM vPMU support for x86 Wei Huang
2015-06-12 5:34 ` [PATCH V5 1/4] KVM: x86/vPMU: Define kvm_pmu_ops to support vPMU function dispatch Wei Huang
2015-06-19 11:30 ` Paolo Bonzini
2015-06-19 14:34 ` Wei Huang
2015-06-12 5:34 ` [PATCH V5 2/4] KVM: x86/vPMU: Create vPMU interface for VMX and SVM Wei Huang
2015-06-16 15:40 ` Joerg Roedel [this message]
2015-06-19 11:31 ` Paolo Bonzini
2015-06-19 14:36 ` Wei Huang
2015-06-12 5:34 ` [PATCH V5 3/4] KVM: x86/vPMU: Implement AMD vPMU code for KVM Wei Huang
2015-06-12 5:34 ` [PATCH V5 4/4] KVM: x86/vPMU: Enable PMU handling for AMD PERFCTRn and EVNTSELn MSRs Wei Huang
2015-06-16 15:41 ` [PATCH V5 0/4] Consolidated KVM vPMU support for x86 Joerg Roedel
2015-06-19 15:14 ` Paolo Bonzini
2015-06-19 15:40 ` Wei Huang
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=20150616154031.GP20384@8bytes.org \
--to=joro@8bytes.org \
--cc=gleb@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
--cc=wei@redhat.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.