From: "Jan Beulich" Subject: Re: [PATCH v24 02/15] x86/VPMU: Add public xenpmu.h Date: Mon, 15 Jun 2015 15:59:43 +0100 Message-ID: <557F047F0200007800084FAD@mail.emea.novell.com> References: <1433948671-29504-1-git-send-email-boris.ostrovsky@oracle.com> <1433948671-29504-3-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1433948671-29504-3-git-send-email-boris.ostrovsky@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Boris Ostrovsky Cc: kevin.tian@intel.com, suravee.suthikulpanit@amd.com, andrew.cooper3@citrix.com, tim@xen.org, dietmar.hahn@ts.fujitsu.com, xen-devel@lists.xen.org, Aravind.Gopalakrishnan@amd.com, jun.nakajima@intel.com, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org >>> On 10.06.15 at 17:04, wrote: > Add pmu.h header files, move various macros and structures that will be > shared between hypervisor and PV guests to it. > > Move MSR banks out of architectural PMU structures to allow for larger sizes > in the future. The banks are allocated immediately after the context and > PMU structures store offsets to them. > > While making these updates, also: > * Remove unused vpmu_domain() macro from vpmu.h > * Convert msraddr_to_bitpos() into an inline and make it a little faster by > realizing that all Intel's PMU-related MSRs are in the lower MSR range. > > Signed-off-by: Boris Ostrovsky Acked-by: Jan Beulich