From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v2 06/13] x86/PMU: Add public xenpmu.h Date: Mon, 23 Sep 2013 09:45:35 -0400 Message-ID: <524045FF.5010601@oracle.com> References: <1379670132-1748-1-git-send-email-boris.ostrovsky@oracle.com> <1379670132-1748-7-git-send-email-boris.ostrovsky@oracle.com> <1397205.lPPPHghazJ@amur.mch.fsc.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1397205.lPPPHghazJ@amur.mch.fsc.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dietmar Hahn Cc: jun.nakajima@intel.com, George.Dunlap@eu.citrix.com, jacob.shin@amd.com, eddie.dong@intel.com, xen-devel@lists.xen.org, JBeulich@suse.com, suravee.suthikulpanit@amd.com List-Id: xen-devel@lists.xenproject.org On 09/23/2013 09:04 AM, Dietmar Hahn wrote: > Am Freitag 20 September 2013, 05:42:05 schrieb Boris Ostrovsky: >> + >> +/* Intel PMU registers and structures */ >> +#define XENPMU_CORE2_MAX_ARCH_PMCS 16 >> +#define XENPMU_CORE2_MAX_FIXED_PMCS 4 >> +struct core2_vpmu_context { >> + uint64_t global_ctrl; >> + uint64_t global_ovf_ctrl; >> + uint64_t global_status; >> + uint64_t global_ovf_status; >> + uint64_t fixed_ctrl; >> + uint64_t ds_area; >> + uint64_t pebs_enable; >> + uint64_t debugctl; > What is debugctl for? I couldn't find it in the other patches. Right. I added it because I am pretty sure it will be needed to make BTS and PEBS work for PV. And because this structure is part of the interface I thought I should put it in now. -boris