From: Shuai Ruan Subject: Re: [PATCH v2 2/2] x86/xstate: also use alternative asm on xsave side Date: Thu, 4 Feb 2016 13:27:14 +0800 Message-ID: <46879.296078305$1454563845@news.gmane.org> References: <56B2016102000078000CE005@prv-mh.provo.novell.com> <56B2032902000078000CE03C@prv-mh.provo.novell.com> Reply-To: Shuai Ruan Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRCTx-0006ST-Mr for xen-devel@lists.xenproject.org; Thu, 04 Feb 2016 05:29:29 +0000 Content-Disposition: inline In-Reply-To: <56B2032902000078000CE03C@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Keir Fraser , Andrew Cooper List-Id: xen-devel@lists.xenproject.org On Wed, Feb 03, 2016 at 05:39:53AM -0700, Jan Beulich wrote: > From: Shuai Ruan > > This patch use alternavtive asm on the xsave side. > As xsaves use modified optimization like xsaveopt, xsaves > may not writing the FPU portion of the save image too. > So xsaves also need some extra tweaks. > > Signed-off-by: Shuai Ruan > > Fix XSAVES opcode. Extend the other respective XSAVEOPT conditional to > cover XSAVES as well. Re-wrap comment being adjusted. > > Signed-off-by: Jan Beulich Thanks for pointing out the bug and fix it. And I test the V2 patch, it works well.