WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] RE: Ping#2: [PATCH] VMX: extend last branch MSR info to cove

To: Jan Beulich <JBeulich@xxxxxxxx>, Haitao Shan <maillists.shan@xxxxxxxxx>
Subject: [Xen-devel] RE: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU models
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Wed, 9 Nov 2011 10:56:52 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, "Dugger, Donald D" <donald.d.dugger@xxxxxxxxx>
Delivery-date: Tue, 08 Nov 2011 19:03:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EB26BB1020000780005EA78@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4EB26BB1020000780005EA78@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyaClpDPvRyAxnPSNG9C1PhyAYwxgEgE2ag
Thread-topic: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU models
Hi, Jan,

I found one useful document in intel website.
http://software.intel.com/en-us/articles/intel-processor-identification-with
-cpuid-model-and-family-numbers/
>From the doc, it seems model 45 is not in the list.

Shan Haitao

> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
> Sent: Thursday, November 03, 2011 5:24 PM
> To: Haitao Shan; Shan, Haitao
> Cc: Dugger, Donald D; Nakajima, Jun; xen-devel@xxxxxxxxxxxxxxxxxxx; Keir
> Fraser
> Subject: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer
> CPU models
> 
> VMX: extend last branch MSR info to cover newer CPU models #2
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> --- a/xen/arch/x86/hvm/vmx/vmx.c
> +++ b/xen/arch/x86/hvm/vmx/vmx.c
> @@ -1738,10 +1738,9 @@ static const struct lbr_info *last_branc
>          case 23:
>              return c2_lbr;
>              break;
> -        /* Nehalem */
> -        case 26: case 30: case 31: case 46:
> -        /* Sandy Bridge */
> -        case 42: case 45:
> +        /* Nehalem/Sandy Bridge */
> +        case 26: case 30: case 31: case 37:
> +        case 42: case 44: case 45: case 46: case 47:
>              return nh_lbr;
>              break;
>          /* Atom */
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel