From: Andrew Cooper Subject: Re: [PATCH 2/2] x86/HVM: adjust feature checking in MSR intercept handling Date: Mon, 5 Sep 2016 16:20:34 +0100 Message-ID: <59508632-7c0e-955e-18af-642513a3434d@citrix.com> References: <57C96DBF020000780010B2E8@prv-mh.provo.novell.com> <57C96EE1020000780010B309@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2051107066284085633==" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgvhT-000636-K3 for xen-devel@lists.xenproject.org; Mon, 05 Sep 2016 15:20:43 +0000 In-Reply-To: <57C96EE1020000780010B309@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Jan Beulich , xen-devel Cc: Kevin Tian , Jun Nakajima List-Id: xen-devel@lists.xenproject.org --===============2051107066284085633== Content-Type: multipart/alternative; boundary="------------B19E632D7945847B12D68976" --------------B19E632D7945847B12D68976 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On 02/09/16 11:21, Jan Beulich wrote: > Consistently consult hvm_cpuid(). With that, BNDCFGS gets better > handled outside of VMX specific code, just like XSS. Don't needlessly > check for MTRR support when the MSR being accessed clearly is not an > MTRR one. > > Signed-off-by: Jan Beulich :( Yet more overhead from extra hvm_cpuid() calls. I really need to get on with fixing it. Reviewed-by: Andrew Cooper --------------B19E632D7945847B12D68976 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: 8bit
On 02/09/16 11:21, Jan Beulich wrote:
Consistently consult hvm_cpuid(). With that, BNDCFGS gets better
handled outside of VMX specific code, just like XSS. Don't needlessly
check for MTRR support when the MSR being accessed clearly is not an
MTRR one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

:( Yet more overhead from extra hvm_cpuid() calls.  I really need to get on with fixing it.

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
--------------B19E632D7945847B12D68976-- --===============2051107066284085633== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2051107066284085633==--