From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Shin Subject: Re: [PATCH 3/3] hvm: vpmu: Add support for AMD Family 15h processors Date: Tue, 10 May 2011 12:00:08 -0500 Message-ID: <4DC96F18.7030406@amd.com> References: <4DC1F53B.4050201@amd.com> <4DC1F8BE.3060707@amd.com> <4DC27133020000780003FC77@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DC27133020000780003FC77@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 05/05/2011 02:43 AM, Jan Beulich wrote: >>>> On 05.05.11 at 03:09, Jacob Shin wrote: >> --- a/xen/arch/x86/hvm/vpmu.c Wed May 04 10:56:36 2011 -0500 >> +++ b/xen/arch/x86/hvm/vpmu.c Wed May 04 19:17:59 2011 -0500 >> @@ -101,6 +101,7 @@ void vpmu_initialise(struct vcpu *v) >> switch ( family ) >> { >> case 0x10: >> + case 0x15: >> vpmu->arch_vpmu_ops =&amd_vpmu_ops; >> break; >> default: > > How about 0x11, 0x12, and 0x14? > Family 11h does not have guest only event monitoring .. but yes, we can enable 12h and 14h in the same path as the 10h. I'll send out a revised patchset later this afternoon. Thanks!