From: "Jan Beulich" Subject: Re: [PATCH] VMX: extend last branch MSR info to cover newer CPU models Date: Thu, 13 Oct 2011 09:18:38 +0100 Message-ID: <4E96BAFE020000780005B101@nat28.tlf.novell.com> References: <4E8B0AE60200007800059289@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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 Cc: "xen-devel@lists.xensource.com" , Keir Fraser , Jun Nakajima , Donald D Dugger List-Id: xen-devel@lists.xenproject.org >>> On 13.10.11 at 09:58, Haitao Shan wrote: > Concernng Jan's question, I am not sure whether the specific model is > NHM or SNB. But I can confirm they are all NHM/SNB. I think this is > not important to last branch record, though. So this would be the follow-up patch then: VMX: extend last branch MSR info to cover newer CPU models #2 Signed-off-by: Jan Beulich --- 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 */