From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86: add Ivy Bridge model numbers to model specific MSR handling Date: Mon, 06 Feb 2012 08:36:18 +0000 Message-ID: References: <4F300E050200007800071664@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F300E050200007800071664@nat28.tlf.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 , "xen-devel@lists.xensource.com" Cc: Donald D Dugger , Jun Nakajima List-Id: xen-devel@lists.xenproject.org On 06/02/2012 16:29, "Jan Beulich" wrote: > This is model 0x3a (decimal 58) as per the most recent SDM. > > In vPMU code, also add a forgotten earlier model. > > Signed-off-by: Jan Beulich Fine by me with an appropriate Ack from Intel. K. > --- a/xen/arch/x86/acpi/cpu_idle.c > +++ b/xen/arch/x86/acpi/cpu_idle.c > @@ -106,6 +106,8 @@ static void do_get_hw_residencies(void * > > switch ( c->x86_model ) > { > + /* Ivy bridge */ > + case 0x3A: > /* Sandy bridge */ > case 0x2A: > case 0x2D: > --- a/xen/arch/x86/hvm/vmx/vmx.c > +++ b/xen/arch/x86/hvm/vmx/vmx.c > @@ -1751,6 +1751,8 @@ static const struct lbr_info *last_branc > case 37: case 44: case 47: > /* Sandy Bridge */ > case 42: case 45: > + /* Ivy Bridge */ > + case 58: > return nh_lbr; > break; > /* Atom */ > --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c > +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c > @@ -623,8 +623,10 @@ int vmx_vpmu_initialise(struct vcpu *v) > case 26: > case 29: > case 42: > + case 45: > case 46: > case 47: > + case 58: > vpmu->arch_vpmu_ops = &core2_vpmu_ops; > return 0; > } > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel