From: "Jan Beulich" Subject: RE: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU models Date: Wed, 09 Nov 2011 08:44:18 +0000 Message-ID: <4EBA4B72020000780005FC80@nat28.tlf.novell.com> References: <4EB26BB1020000780005EA78@nat28.tlf.novell.com> <04F972F38B3C4E4E91C4697DA8BF9F527E41C1F0DD@shsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <04F972F38B3C4E4E91C4697DA8BF9F527E41C1F0DD@shsmsx502.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Haitao Shan , Haitao Shan Cc: "xen-devel@lists.xensource.com" , Keir Fraser , Jun Nakajima , Donald D Dugger List-Id: xen-devel@lists.xenproject.org >>> On 09.11.11 at 03:56, "Shan, Haitao" wrote: > Hi, Jan, >=20 > I found one useful document in intel website. > http://software.intel.com/en-us/articles/intel-processor-identification-w= ith=20 > -cpuid-model-and-family-numbers/ > From the doc, it seems model 45 is not in the list. Neither is model 31. Which tells us what? That the page isn't up-to-date? After all model 31 is referenced in SDM Vol 3 appendix B.4, and model 45 in the same document appendix B.7. They're also both in table B-1 of the SDM doc changes (rev 032 from May this year). Or are you saying the SDM is incorrect? At least this answers the question raised in http://lists.xensource.com/archives/html/xen-devel/2011-11/msg00411.html=20= - 0x2E and 0x2F are supposed to go into the Nehalem/Westmere group then for cpuidle purposes. Jan > Shan Haitao >=20 >> -----Original Message----- >> From: Jan Beulich [mailto:JBeulich@suse.com]=20 >> Sent: Thursday, November 03, 2011 5:24 PM >> To: Haitao Shan; Shan, Haitao >> Cc: Dugger, Donald D; Nakajima, Jun; xen-devel@lists.xensource.com; = Keir >> Fraser >> Subject: Ping#2: [PATCH] VMX: extend last branch MSR info to cover = newer >> CPU models >>=20 >> VMX: extend last branch MSR info to cover newer CPU models #2 >>=20 >> Signed-off-by: Jan Beulich >>=20 >> --- 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 */ >>=20 >>=20